Differentiate between the public and private ?
Answer / Mohd Waseem Akram
In C#, a class member or method that is marked as 'public' can be accessed from any other class in the same namespace. On the other hand, a member or method that is marked as 'private' can only be accessed within its defining class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What does out mean c#?
What is this keyword in C#?
From which base class do all Web Forms inherit from?
What is cls, cts and clr in net?
What is the console on a mac?
How are Windows programs different from normal C-programs?
what is class libraries?
Explain the difference between Response.Write () and Response.Output.Write ().
What is dll hell, and how does .net solve it?
Define method overloading in c#?
What is the data type for bit in c#?
Where are value types stored in 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)