Coffeehouse Post

Single Post Permalink

View Thread: C# trivia question
  • User profile image
    magicalclick

    I leared this like last week. But, can the mothod return any object type with null value? Can you assign either myObject(null) and string(null) in this statement? Will it raise compiler error? I am going to try that out.

    update: doesn't compile, which is good.