can we assign null value to value type in c#?

Answers were Sorted based on User's Feedback



can we assign null value to value type in c#?..

Answer / vikram

ya we can assign null value to valuetype but to certain
datatype only like string but not to int or float.

Is This Answer Correct ?    35 Yes 45 No

can we assign null value to value type in c#?..

Answer / satya

No

Is This Answer Correct ?    8 Yes 28 No

Post New Answer

More C Sharp Interview Questions

What does int parse do in c#?

0 Answers  


Suppose you have already existing application with Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. With this example how can you approach migrating this application to .NET?

0 Answers   Siebel,


Why do we use reflection in c#?

0 Answers  


What is the meaning of console writeline in c#?

0 Answers  


Enlist some of the properties of a thread class?

0 Answers  






What is the output of TextWriterTraceListener redirected?

0 Answers   Siebel,


What is dao in c#?

0 Answers  


From which base class do all Web Forms inherit from?

0 Answers   Siebel,


Can we throw exception from catch block

6 Answers   Microsoft,


How main method is called in c#?

0 Answers  


Why is it called c sharp?

0 Answers  


What do you mean by generic class in c#?

0 Answers  


Categories