How would you describe encapsulation in c#?
Answer / Nitin Rana
{"encapsulation": [n "Encapsulation is a fundamental principle of object-oriented programming where data and functions that operate on the data are bundled together into classes or objects.",n "In C#, encapsulation is achieved using access modifiers such as private (data can only be accessed within the class), protected (data can be accessed within the class and derived classes), internal (data can be accessed within the same assembly) and public (data can be accessed from anywhere).",n "Encapsulation helps to hide the implementation details of a class and provides data integrity by limiting direct access to its fields."]}
| Is This Answer Correct ? | 0 Yes | 0 No |
What is type cast in C#?
1 Answers TryTechnicals Pvt Ltd,
Hai, I want to open a new form while the previous form is hiding or closing. I tried this with using MDI.I created one form like ParentForm.placed one button control.when clicked one that it opend new form like ChildForm.When i set the property of ChildForm to Maximize,but the ParentForm button control also appearing on the childform. so plz help me how to hide parentform controls(hide parentform while it is childform opened) thanq..
Distinguish between a class and struct?
What do you mean by a windows process in regards to memory allocation?
Does c# have primitives?
List down the access modifiers available in c#?
Explain manifest & metadata.
What is the process of delegation?
What is int tryparse in c#?
What is oledb in c#?
What is difference between asp net and c# net?
What is reference c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)