Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Fortress7

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,493

    Re: Convert.ToString: sbyte oddity

    Aha... Now I understand. Thank you very much.
  2. Replies
    12
    Views
    1,004

    Re: http web server in VC#

    Well said. : )

    Darwen is right. BigJoe, you should listen to Darwen's opinion, as he has a lot of experience.
  3. Replies
    9
    Views
    4,621

    Re: sending emails

    The key to finally getting this to work for me was the following:

    I was successful when I used port number 587.
    (For whatever reason, using port 465 did not work for me.)

    Also, btw: I was...
  4. Replies
    8
    Views
    1,493

    Re: Convert.ToString: sbyte oddity

    OK, fair enough.

    It just seems odd, because:
    If I use int, it returns a 32-bit value.
    If I use short, it returns a 16-bit value.
    And if I use sbyte, it returns a 16-bit value, too.

    So, for...
  5. Replies
    9
    Views
    4,621

    Re: sending emails

    This is great code, so I really wanted to try it.

    However, when I implement it within a very simple Windows Forms app with a simple Send button, it appears to fail.

    "Not responding... ...
  6. Replies
    8
    Views
    1,493

    Re: Convert.ToString: sbyte oddity

    Thanks very much for your reply.

    However, according to MSDN, there is a method for Convert.ToString(SByte, IFormatProvider), if I am reading this correctly.
    ...
  7. Replies
    8
    Views
    1,493

    Re: Convert.ToString: sbyte oddity

    According to MSDN:
    Convert.ToString Method (SByte)
    Converts the value of the specified 8-bit signed integer to its equivalent String representation.

    So, why does it give 16-bit output?
  8. Replies
    8
    Views
    1,493

    Convert.ToString: sbyte oddity

    sbyte x = -4;
    Console.WriteLine("Suppose we have an sbyte with value -4.");
    Console.WriteLine("The size of sbyte is {0} byte.", sizeof(sbyte));
    Console.WriteLine("The sbyte converted to binary...
Results 1 to 8 of 8


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center