Results 1 to 5 of 5

Thread: Translating C++.Net code to C# - {RESOLVED}

Threaded View

  1. #1

    Thread Starter
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Translating C++.Net code to C# - {RESOLVED}

    I've seen the light, I've given up C++.net and as a result, I've got a large chunk of code to trawl through to move over to C#.

    One thing though, In C++ I used this to test whether a pointer had been initialised...

    Code:
    if(!pMyString)
    //it hasn't been initialised yet
    else
    //it has
    In C# I have changed the pointer into to a string variable.

    Now if I have:

    Code:
    string MyString;
    //...
    what is it's state now, it is null, nothing, empty, "" or what?

    And how do I test it.

    Thanks.

    PS, why didn't anyone tell me that Managed C++ was so arse?
    Last edited by wossname; Nov 27th, 2003 at 03:58 AM.
    I don't live here any more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width