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
What is the meaning of MSIL?
Why do we need generics in c#?
What does void do in c#?
if you do have a stack overflow profile.what is your ranking?
What is the difference between class and namespace?
What is session variable in c#?
What is firstordefault c#?
What is xml serializer?
How do I download a program to my desktop?
How do I format a string in c#?
write a program to find the biggest palindrome in the given string
What are native methods?
Can we declare private class in c#?
In which way you can convert a value-type to a reference-type?
What is asax file in c#?