can we assign null value to value type in c#?
Answer Posted / shihafath wazeer
correct declaration for a nullable integer is as follows
Nullable<int> i = null;
or
int? j = null;
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
How do I register my code for use by classic com clients?
What is difference between abstract class and interface in c#?
What is difference between abstraction and encapsulation in c#?
What is the root element of an xml file?
what is c# command?
What is list collection in c#?
Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates
Do we get an error while executing the “finally” block in c#?
What is use of abstract class in c#?
What is the default modifier for class in c#?
What are anonymous types in c#?
What are the features of c#?
Explain About remoting and web services. Difference between them
What does type safety mean?
What is delegates and events?