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
Can you specify nested classes as partial classes?
How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!
What is the best dependency injection c#?
Why is static constructor called first?
What is application c#?
How string definitions will prevent escaping on backslashes in C#?
What is managed code?
What is local function?
What is console read in c#?
So let's say I have an application that uses myapp.dll assembly, version 1.0.0.0. There is a security bug in that assembly, and I publish the patch, issuing it under name myapp.dll 1.1.0.0. How do I tell the client applications that are already installed to start using this new myapp.dll?
What is the benefit of interface in c#?
What is ilist c#?
What is generic delegate in c#?
What is lock in c#?
How many constructors can a class have c#?