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
How long can a string be c#?
How to use nullable types in .net?
How are methods overloaded?
What is string programming language?
what is an exception in .net?
what is the scope of anonymous type ?
Explain the difference between pass by value and pass by reference.
Why does my windows application pop up a console window every time I run it?
How can you set image source dynamically from c# application to ”test.png” file?
What is the difference between selection and projection?
What is reference types in c#?
What are the 3 different types of arrays?
When a Static Constructor is called in a Class?
What is yield in c#?
Explain how to implement an object pool in c#.net