C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
1
Reply
What is protected internal modifier in C#?
Rahul Pandey
12y
923
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
The protected internal accessibility means protected OR internal, not protected AND internal.In other words, a protected internal member is accessible from any class in the same assembly, including derived classes.The protected internal access modifier seems to be a confusing but is a union of protected and internal in terms of providing access but not restricting. It allows: • Inherited types, even though they belong to a different assembly, have access to the protected internal members. • Types that reside in the same assembly, even if they are not derived from the type, also have access to the protected internal members. for similar kind of C# questions you can refer this link
c# interview questions
Krishna Mohan
11y
0
What is method overloading in C#?
What is a Jagged Array in C#?
Message