can we assign null value to value type in c#?
Answer Posted / anirudh
YES. WE CAN !!!
use this:
int? var_x = null;
| Is This Answer Correct ? | 34 Yes | 4 No |
Post New Answer View All Answers
How do you type a null character?
Explain circular reference in c#?
What is the difference between constants and read-only?
What is the main method in c#?
I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??
If you define a user defined data type by using the class keyword, is it a value type or reference type?
Is lazy t thread safe?
How many bits is int32?
How can you set image source dynamically from c# application to ”test.png” file?
Expalin the way you implement inheritance by using VB.NET/C#?
Why c# is called type safe language?
What are custom exceptions? Why do we need them?
What is the difference between double and decimal in c#?
Explain the advantage of using system.text.stringbuilder over system.string?
What is difference between abstraction and encapsulation in c#?