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
46
Reply
Which class in C#.Net can not be inherited?
Naitik Jani
10y
3.9k
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
We cannot inherit from a sealed class,static class and a class which have private constructor
lokaprakashraju p
10y
2
Sealed class can't be inherited.
maulik patel
10y
1
We cannot inherit Sealed classes. If a class declared with Sealed key word then that class cannot be inherited by any other class.
Narasimha Reddy Chennupalli
10y
1
In C# .Net We know that if We use Static Class then we can't be inherited that class. in other word we can also called sealed class.
Vijay Kumar
10y
0
Sealed Class Can Not Be Inherited...
Swapnil Mache
10y
0
sealed class
Rakesh
10y
0
Sealed class. Static class
Srikanth Reddy
10y
0
sealed class restrict user from inherit class.
Asif MULLA
10y
0
sealed class
kuljot kaur
10y
0
Sealed Class
Deepak Jadaun
10y
0
Sealed Class
Dominique Ceja
10y
0
Sealed class can not inherited because we use security purpose use sealed class.Static class also can't inherited to another class as well as can't create object.
Vignesh Mani
10y
0
Sealed and static class can't be inherited.
kamal das
10y
0
sealed class.
Sujeet Suman
10y
0
A static and Sealed classes cannot be inherited .
Jaipal Reddy
10y
0
class having only private constructor can't be inherited
Kundan Jha
10y
0
A Static class and a Sealed class cannot be inherited.
Ehsan Sajjad
10y
0
Sealed class cannot be inherited.
sagar samal
10y
0
sealed class
bharat aggarwal
10y
0
Class that are marked with the sealed (C#) or NotInheritable (VB.NET) keywords cannot be inherited from. This is done at the definition of the classes. The most commonly used sealed class is System.String.
Nanhe Siddique
10y
0
Hello Naitik,In c# if your marked your class as Sealed. In that case you have prevent your class not getting inherited.
Vaibhav Salwe
10y
0
only Sealed not abstract class,abstract class are parent class so they are inherited
chetan kulkarni
10y
0
sealed class
Kiranteja Jallepalli
10y
0
sealed class can not be inherited
Rahul Prajapat
10y
0
Sealed Class
Rajeesh Menoth
10y
0
Sealed class
Mahendra
10y
0
A Class that are marked with the "sealed" keyword can't be inherited in C#.Net Happy Coding :)
Ravi Shekhar Vishwakarma
10y
0
sealed class
Govindarajan Ganesan
10y
0
sealed Class can not be inherited
Pankaj Kumar Choudhary
10y
0
abstract class
Edward Guereque
10y
0
abstract class and those class having sealed keyword is also not inherited
suraj ghosi
10y
0
Abstract Class
Kml Surani
10y
0
Sealed class..
Rajeesh Menoth
10y
0
Sealed class can not inherited
Sakthikumar Thanavel
10y
0
sealed class in C# and NotInheritable class in VB.NET
Saroj Kumar Sahu
10y
0
Class that are marked with the sealed (C#) or NotInheritable (VB.NET) keywords cannot be inherited from. This is done at the definition of the classes. The most commonly used sealed class is System.String.
Rajkiran Swain
10y
0
sealed class
rajesh vs
10y
0
Sealed Class
Bineesh VP
10y
0
Sealed Class
Lalit Raghav
10y
0
sealed class
Aditya Mishra
10y
0
Sealed Class
Shaik Abdul Kalam
10y
0
Sealed class we can't inheritant.
Nirav Vasoya
10y
0
sealed class
Debendra Dash
10y
0
Class that are marked with the sealed (C#) or NotInheritable (VB.NET) keywords cannot be inherited from. This is done at the definition of the classes. The most commonly used sealed class is System.String.
Mohan G
10y
0
Sealed class
Munesh Sharma
10y
0
Sealed Class
Naitik Jani
10y
0
Message