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
What is the use of GC.KeepAlive Method?
What is default parameter in c#?
how background thread access to ui control?
What is console used for?
There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?
What are the return types in c#?
Please write a program to display “welcome to bestinterviewquestion.com” in c#?
Is enum a value type c#?
what is a destructor?
What is eager loading in c#?
What is the difference between dll and lib?
Is c# difficult to learn?
Why do we need events in c#?
Why extension method is static?
What is string empty?