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 are the advantages of constructor?
What are extensions methods in c#?
The int maps to which C# keyword in .NET type?
What is stringreader in c#?
Distinguish between a class and struct?
What is the diff between the System.Array.CopyTo() and System.Array.Clone()?
What do you know about WM_CHAR message?
Name the connections does microsoft sql server support?
Is c sharp and c# are same?
What is the difference between abstract class and interface in c#?
What is a console?
Can a class have static constructor?
What is the use of console application in c#?
Why do we need indexer in c#?
Are structs value types or reference types?