Object Oriented Programming Basic Concept C

0 votes
We are aware that the default modifier of Class, Struct, Delegate, Interface, Enum is Internal.

1. Members of interfaces and enums are by default public.

2. Members of the Class, Struct, and Delegate are also by default private.

3. Public and internal classes may be accessed by non-derived classes of the same class-library (and public, internal, protected internal-members).

4. Public class information is accessible to non-derived classes from other class libraries (public members only).

5. Derived classes from various classes may access public classes (public, protected, protected-internal members).

But why do protected members have more scope than internal?
Dec 12, 2022 in C# by Roshan
• 300 points
265 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In C#

0 votes
1 answer

How do I turn a C# object into a JSON string in .NET

Newtonsoft.json can be used to accomplish this. ...READ MORE

answered Jun 13, 2022 in C# by krishna
• 2,820 points
362 views
0 votes
0 answers

Compress existing PDF using C# programming using freeware libraries

I've been looking for ways to compress ...READ MORE

Jun 11, 2022 in C# by jyoti
• 1,240 points
363 views
0 votes
0 answers

What are the differences between C#.net and Visual Basic.net

I have some VB.net expertise and would ...READ MORE

Jun 11, 2022 in C# by krishna
• 2,820 points
268 views
0 votes
0 answers

How do I turn a C# object into a JSON string in .NET?

The following is my classes class MyDate { ...READ MORE

Sep 26, 2022 in C# by krishna
• 2,820 points
262 views
0 votes
1 answer

Convert VB.NET --> C# Projects

You may decompile whole Assemblies into Visual ...READ MORE

answered May 30, 2022 in C# by rajiv
• 1,620 points
356 views
0 votes
1 answer

What is the best C# to VB.net converter

Telerik has a solid SharpDevelop-based converter that ...READ MORE

answered May 30, 2022 in C# by rajiv
• 1,620 points
1,321 views
0 votes
1 answer

Object Oriented Programming Basic Concept(C#)

Use this link https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/access-modifiers protected internal: The type or ...READ MORE

answered Jun 17, 2022 in C# by jyoti
• 1,240 points
416 views
0 votes
0 answers

Object Oriented Programming Basic Concept(C#)

As We know The Default Modifier of Class, Struct, ...READ MORE

Dec 9, 2022 in Android by Edureka
• 13,620 points
271 views
0 votes
1 answer

Examples of dynamic polymorphism in c#

Check the example of polymorphism below. We ...READ MORE

answered Jun 7, 2022 in C# by pranav
• 2,590 points
625 views
0 votes
1 answer

Authenticate on an ASP.Net Forms Authorization website from a console app

Essentially, we need to record a regular ...READ MORE

answered Sep 20, 2018 in IoT (Internet of Things) by Annie97
• 2,160 points
609 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP