Answer to Question #800 in C# for Jerald

Question #800
How to define a reference type?
1
Expert's answer
2010-10-18T12:56:24-0400
A reference type can be defined with IsValueType method.

Some example of the code:
Console.Writeline(typeof(int).IsValueType); //returns "true"
Console.Writeline(typeof(string).IsValueType); //returns "false"

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS