Answer Posted / ctharam
Struct:-
-------
1) by default, Public
2) doesn't support OOP's Concepts.
3) doesn't support Constructor and Destructor member functions.
4) No Security for data.
Class:-
-------
1) by default ,Private
2) its support OOP's Concepts.
3) supports Constructor and Destructor .
4) provides highly security for user's data.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What do you mean by default constructor?
What is the advantage of constructor in c#?
Can you explain template pattern?
What is mvc in c#?
write a c# program add two matrix with input number ?
Which constructor is called first in c#?
Why do we need encapsulation in c#?
What is the difference between a method and a property?
Why to use lock statement in c#?
List the differences between method overriding and method overloading?
What is the purpose of ienumerable in c#?
How do I get deterministic finalization in c#?
list the steps in code compilation in c#?
What is private in c#?
What is array class in c#?