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 is the difference between protected and internal in c#?
What is boxing & unboxing?
What is the wildcard character in sql?
What is a template class?
What does m mean in decimal c#?
What is private virtual in C#?
Do unused Namespaces in c# affect run-time performance?
What is singleordefault c#?
Why do we need to call CG.SupressFinalize?
Why reflection is used in c#?
What is Inheritance in C#?
What is meant by enumerable in c#?
What is difference between write and writeline?
What is the solution if you need to manipulate sets of items?
What do you understand by an Implicit Variable?