Can a struct be null?



Can a struct be null?..

Answer / Monika Gill

No, structures (structs) in C# are value types and cannot be set to null. They represent simple data types that contain multiple fields.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

can you allow a class to be inherited, but prevent the method from being over-ridden?

1 Answers   Siebel Systems,


What is the meaning of MSIL?

1 Answers   TCS,


What is Interface Polymorphism?with E.g

1 Answers  


Can a structure be inherited by a class?

3 Answers  


Hello! How to do this: "Create manifest utility intended for creating update content files. Application should take a set of files as input parameter and generate XML based manifest file as output one." I use C# and vs.net 2003. It's urgent! Help please, thanks. Mayana

1 Answers  


What is the use of regex in c#?

1 Answers  


How does substring work in c#?

1 Answers  


what is IFormatable

1 Answers   Wipro,


What is attribute c#?

1 Answers  


What is master page in asp net c#?

1 Answers  


What is dynamic dispatch?

1 Answers  


What is expression tree in c#?

0 Answers  


Categories