How many types classes in C sharp?

Asked by Last Modified  

20 Answers

Follow 1
Answer

Please enter your answer

Software Trainer

There are following types of Classes in C# 1. Sealed Classes 2. Abstract Classes 3. Partial Classes 4. Static Classes
Comments

Expert training in .NET, Android, Java, English, German

Types of classes in C#.Net: • Abstract Class • Partial Class • Sealed Class • Static Class
Comments

Software engineer / Programmer

There are four types of classes in C# .Net 1) Abstract class - An Abstract Class means that, no object of this class can be instantiated, but can make derivation of this. It can serve the purpose of base class only as no object of this class can be created. Abstract Class is denoted by the keyword...
read more
There are four types of classes in C# .Net 1) Abstract class - An Abstract Class means that, no object of this class can be instantiated, but can make derivation of this. It can serve the purpose of base class only as no object of this class can be created. Abstract Class is denoted by the keyword abstract. 2) Partial class - Partial Class allows its members – method, properties, and events – to be divided into multiple source files. At compile time these files get combined into a single class. 3) Sealed class - A sealed class is a class which cannot be inherited. A sealed class cannot be a base class. The modifier abstract cannot be applied to a sealed class. By default, struct (structure) is sealed. It is the last class in hierarchy. To access the members of a sealed class, you must create objects of that class. Sealed Class is denoted by the keyword sealed. 4) Static class - A Static Class is one which cannot be instantiated. The keyword new cannot be used with static classes as members of such class can be called directly by using the class name itself. read less
Comments

.Net Techno(.NET is in my blood)

In C sharp, Types are classified into two: Value Type and Reference Type...Class comes under Reference types. Kindly revert back if reply don't match with your question.
Comments

.Net Trainer

1. Instance class (instance members or static members or both) 2 static class 3 abstract class 4 sealed class 5 partial class 6 internal ** extern is used on static type members static (methods) with Dllimport attribute while using interoperability services and unmanaged code.
Comments

There are 4 Types of Classes in C#.net. 1)Abstract(also known as pure virtual class) 2)Sealed 3)Partial 4)Static
Comments

MS.Net and MSBI with SQL Server expert

Types of classes: 1. Abstract class 2. Partial class 3. Sealed class 4. Static class
Comments

IT engineer

Types of classes: 1. Abstract class 2. Partial class 3. Sealed class 4. Static class
Comments

Trainer for .NET Programming and Project Development

Dear Munmun c# has number of classes there, such as :- Static,Sealed,Abstract,and using other modifier class meaning will also change.
Comments

Software Trainer

There are Sealed Classes, Static Classes, Abstract classed and Partial Classes
Comments

View 18 more Answers

Related Questions

training
I am one of the TOP Trainer of this site with 12+ years of experience with coaching , Author of 14 books , Team leader in company and mentoring on the .NET platform. You can reach me here: shyam.rajput @ gmail . com
Mir
How to overload logical operator in C#? It gives one of the paramters should be containing type? Please help.
Its define by The Bank is a corporate citizen, with resources at its command and benefits which it derives from operating in society in general. It therefore owes a solemn duty to the less fortunate and...
Rupali

Hello Sir, I have little bit knowledge of C. Can I continue study Asp.net? Please advice..

for ASP.Net you need the basic programming knoladge in C and C++ OOP Method along with HTML,CSS, and Java Script. Because in ASP.Net Code behind C# is running. C# is based on Object oritented Methodology....
Mitu
0 0
8

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Pro Developer Program Syllabus
What you will learn in Pro-Developer Program: i. Introduction to Web Technologies. ii. Introduction to .Net - Features of .Net, CTS, CLS, CLR and MSIL. iii. C# & .Net Basics - Data Types,...

Facebook Analytics
Assume how the Facebook application will store the millions of customer's record in real-time: facebook = { 'jose': { 'name': 'jose', 'age': 33, 'hobby': , # cricket,football 'mobile': 1111111111, 'email':...

OOPs Concepts
Session Objectives: Discuss the following: Drawbacks of traditional programming Need for Object: Oriented approach Object: Oriented techniques Discuss Object: Oriented Concepts Objects. Classes. Abstraction. Inheritance. Encapsulation. Polymorphism. Need...

Trends in .Net Platform
.NET Framework is a software framework developed by Microsoft. It includes a large class library named Framework Class Library (FCL) and provides language interoperability (each language can use code written...

.Net is not tough just it requir skill build
Hello friends which one is better java or .net ? Well you need to know both to make a right full argument. My advice would be pick any one get skilled on that and then learn second one. I believe by...

Looking for C# .NET ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you