what are the differences b/w structure and class?
Answer Posted / abhay k pandey
Structs many have constructors but they should not be
parameterless. Structs performs alomost all the tasks of a
class but differs at some points - structs don't support
inheritance hence there is no protected keyword with
structs. Note : still struct inherit from System.Object
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which is the base class in c#?
Explain attributes in c#?
How to transpose multi-dimensional array?
Explain about CTS?
What does namespace mean?
How Global.asax is used ?
What is the purpose of escape sequence?
What is platform independence"?
Define c# i/o classes? List the commonly used classes?
What is the base class in .net from which all the classes are derived from?
Is and as in c#?
What is default constructor in c#?
Define Virtual folder?
What is a callback c#?
Explain the feature of c# language?