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

Why do we need to call CG.SupressFinalize?

0 Answers  


What are tuples c#?

0 Answers  


What are the advantages of properties in c#?

0 Answers  


What is the difference between int.Parse() and Convert.toInt32().

2 Answers  


How does array sort work?

0 Answers  






Describe the parts of assembly.

0 Answers  


Can we create multiple constructors?

0 Answers  


Are c and c# the same thing?

0 Answers  


Can multiple catch blocks be executed?

1 Answers  


What is master page in asp net c#?

0 Answers  


What is Garbage Collection in .Net?

0 Answers  


What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?

0 Answers  


Categories