TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
About Classes
Share
facebook
twitter
linkedIn
Reddit
Topics
No topic found
Content Filter
Articles
Videos
Blogs
News
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Mahesh Chand (7)
C# Curator (5)
Aman Gupta (4)
Ajay Kumar (3)
Ashish Bhatnagar (3)
Abhimanyu K Vatsa (2)
Rajesh VS (2)
David Mccarter (2)
Tural Suleymani (2)
Navin Prakash (2)
Amr Monjid (2)
Mike Gold (2)
Shervin Cyril (2)
Sean Franklin (2)
Mukesh Nailwal (1)
Sandeep Singh Shekhawat (1)
Pankaj Kumar Choudhary (1)
Sarthak Varshney (1)
Hiren Soni (1)
Mahak Gupta (1)
Craig Breakspear (1)
Matt Diesel (1)
Mukesh Kumar (1)
Sardar Mudassar Ali Khan (1)
mercy_gp (1)
Mohammad Tahir Ansari (1)
Bechir Bejaoui (1)
Bhuvanesh Mohankumar (1)
Akkiraju Ivaturi (1)
Roshan Patil (1)
Gnanavel Sekar (1)
Praveen Kumar (1)
Jagannath Sethi (1)
Michael Youssef (1)
Gurpreet Arora (1)
Vidya Vrat Agarwal (1)
Selva Ganapathy (1)
Pradeep Vaishya (1)
Deepak Kumar (1)
Annathurai Subbaiah (1)
Erika Ehrli Cabral (1)
Deepak Rawat (1)
Ayan Ansuman (1)
Neeraj Sharma (1)
Vijay Kumari (1)
Vithal Wadje (1)
Farhan Ahmed (1)
Oscar Santos (1)
Naveed Zaman (1)
Atul Sharma (1)
Jignesh Trivedi (1)
Usama Hafeez (1)
Senthilkumar (1)
Pawan Pandey (1)
Sameer Shukla (1)
Akhil Mittal (1)
Daniel Clark (1)
Aashina Arora (1)
Khushbu Saini (1)
Shubham Srivastava (1)
Abhishek Kumar Ravi (1)
Sara Silva (1)
Shivprasad (1)
Amit Patel (1)
Tin Lam (1)
Anupam Singh (1)
Swati Chavan (1)
Levent Camlibel (1)
Vijay K (1)
Dipal Choksi (1)
Munesh Sharma (1)
Ramasagar Pulidindi (1)
Neelesh Vishwakarma (1)
Surya S (1)
Related resources for Classes
No resource found
Choosing Between Abstract Classes and Interfaces in C#
12/2/2023 12:38:47 PM.
Making the Right Design Choice between Abstract Classes and Interfaces in C#.
What Are The Types of Classes in C#?
12/2/2023 12:32:45 PM.
types of classes in c#
Partial Classes In C# with Real Example
11/20/2023 10:27:45 AM.
C# Partial Class. Partial classes were introduced in C# 2. A C# Partial class can reside in multiple cs files with the same name. C# partial classes code examples.
Abstract Classes In C#
11/2/2023 11:56:15 AM.
This article explains abstract classes in C#. An abstract class is a special type of class that cannot be instantiated and acts as a base class for other classes. Abstract class members marked as abst
Java 21: New Features and Examples
11/2/2023 10:48:59 AM.
Java 21 is a major release that includes a number of new features and improvements that make Java more concise, expressive, safe, and performant. Some of the most significant new features include reco
Get Property And Method Name Of WMI Classes Programmatically In C#
10/30/2023 9:31:12 AM.
This article shows how you can get property name and method name programmatically instead of writing explicitly.
C# Records and DTO Classes
10/30/2023 7:57:12 AM.
Interface In C#
10/30/2023 6:23:34 AM.
In this article, we will be discuss what an interface is and how to easily implement an inheritance in it.In C#, an interface is a reference type that defines a contract for the behavior of a class. I
How to implement Multiple Inheritance in C#
10/11/2023 12:42:33 PM.
Learn how to implement multiple inheritance in C#. Inheritance is one of the key characteristics of an object oriented programming language.
C# StreamWriter Example
10/10/2023 5:06:16 AM.
StreamWriter class in C# writes characters to a stream in a specified encoding. StreamWriter.Write method is responsible for writing text to a stream.
Polynomials
10/8/2023 5:24:59 PM.
Polynomials are mathematical expressions consisting of variables (or indeterminates) and coefficients, involving only the operations of addition, subtraction, multiplication, and non-negative integer
Types Of Polymorphism
10/5/2023 11:33:21 AM.
In this article you will learn about Polymorphism and types of polymorphism.Polymorphism is one of the fundamental principles in object-oriented programming (OOP). It allows objects of different class
Enhancing ASP.NET Core Web API Responses with Consistent and Predictable Wrapper Classes
9/27/2023 11:32:34 AM.
In ASP.NET Core Web API, you can use wrapper classes to standardize the format of your API responses. A wrapper class typically contains a status code, a message, and the actual data payload. This hel
Dynamic Code Generation And Code Compilation
9/25/2023 4:55:50 AM.
Dynamic code generation and code compilation refer to the process of creating and compiling code at runtime rather than at compile time. This technique is often used in scenarios where the structure o
A Deep Dive into Static Classes in C#
9/25/2023 4:26:42 AM.
This article, "Exploring Static Classes in C#," provides an in-depth exploration of the concept and practical applications of static classes in the C# programming language. It elucidates the
Static and Singleton Classes in C#
9/23/2023 7:31:15 AM.
Object-Oriented Programming (OOP) in C# is a way to organize code neatly. There are two types of classes: static and singleton. Static classes have functions that you can use without creating an objec
Zip and Unzip files using GZipStream and DeflateStream classes
9/21/2023 8:55:26 AM.
The dot net framework provides us a way to compress and decompress data using the classes under the System.IO.Compression. There are two main classes that perform the job, namely the GZipStream class
Partial Classes In C#
9/21/2023 6:02:08 AM.
In this quick article you will take a look at Partial Classes in C#.
Special Class Of C# Series - Part One - Partial Class
9/21/2023 5:07:56 AM.
This article will help you understand what partial class is used in C-Sharp language. Also, I will explain the various uses of the partial class.
Singleton Vs Static Classes
9/15/2023 8:46:24 AM.
Why do you use a Singleton class if a Static class serves the purpose What is the difference between Singleton and Static classes and when do you use each one in your program?
Types Of Classes And Their Characteristics
9/15/2023 6:38:29 AM.
In this article, you will learn about the types of classes and their characteristics.
Custom Extension Method In C#
9/15/2023 5:05:51 AM.
In C#, extension methods are a powerful feature that allows you to add new methods to existing classes without modifying their source code. A custom extension method in C# is a user-defined method tha
StreamReader and StreamWriter Classes in C#
9/14/2023 8:44:51 AM.
In this article I will explain you about StreamReader and StreamWriter Classes in C#.
TraceListener Classes in C#
9/8/2023 11:45:31 AM.
TraceListener classes in C# are a part of the System.Diagnostics namespace and are used to capture and route diagnostic information (traces) generated by an application. These classes are essential fo
Generic in C#
9/1/2023 12:46:42 PM.
Generics in C# 2.0 revolutionize code design by decoupling classes and methods from data types. They're key in creating strongly typed, reusable, and performant code. You declare generics using th
Introduction to C# Methods - Part1
9/1/2023 4:14:25 AM.
In this article, you will learn about C# methods and how to implement and use methods in a class.
Sealed Classes in C#
8/28/2023 4:33:02 AM.
Delve into the significance of sealed classes in C# OOP. Uncover their role in defining code boundaries and inheritance. Gain insights into their benefits, optimizing security and performance. Master
Using Generics In C#
8/26/2023 2:09:08 AM.
Learn everything about generics in C#.
How to Access a Private Member of a Class From Other Class
8/21/2023 12:11:23 PM.
This topic pertains to object-oriented programming and addresses methods for accessing private members (variables and methods) of a class from a different class. In many programming languages, private
C# Abstract Classes: Definition, Usage With Example
8/7/2023 5:24:16 AM.
Learn all about C# Intermediate Abstract Classes in this comprehensive guide. Understand the concepts, usage, and benefits. A must-read for C# developers aiming to enhance their skills. Click to becom
Java Interfaces and their implementation in real-world
7/12/2023 6:01:20 AM.
In Java, there are certain situations where the programmer just needs to focus on which object is doing the job and providing desired output. Java Provides a great tool for this, which is known as an
Inner Classes in Java
6/16/2023 5:10:25 AM.
It is possible to nest a class definition within another class and treat the nested class like any other method of that class.
What are sealed classes and sealed methods
6/12/2023 6:31:20 AM.
In this article, I will try to explain sealed classes and sealed methods in C# language.
Understanding Structures in C#
6/9/2023 6:24:01 AM.
C# Struct, A structure in C# is simply a composite data type consisting of a number elements of other types.
Abstract Class In C#
6/6/2023 10:00:33 AM.
An abstract class in C# is a class that can't be instantiated. Here learn how to declare and implement abstract classes in C# applications.
OOPS Concepts And .NET - Part One - Classes, Objects, And Structures
6/6/2023 6:50:13 AM.
The following article kicks off a three-part article series that will present definitions and samples for different Object-Oriented Programming concepts and its implementation in .NET.
What are the distinctions between CSS pseudo-classes and pseudo-elements?
4/26/2023 4:00:57 PM.
Discover the power of CSS pseudo-selectors and elements with our comprehensive guide. Learn the difference between pseudo-classes and pseudo-elements, and explore a range of dynamic states and effects
Code Quality - Formatting Classes In Microsoft .NET To Make Them Easy To Read And Modify
3/1/2023 4:40:59 AM.
In this article, you will learn how to format classes in Microsoft .NET To Make Them Easy To Read And Modify.
When To Use Static Classes In C#
2/16/2023 3:17:07 PM.
The static modifier in C# declares a static member of a class. The static modifier can be used with classes, properties, methods, fields, operators, events, and constructors, but it cannot be used wit
What Are The Differences Between Singleton Vs Static Classes In C#?
2/13/2023 10:36:10 AM.
In this article, you will learn what are the differences between singleton vs static classes in c#?
What is the difference between classes and objects in C#
2/13/2023 4:00:07 AM.
Learn the difference between objects and classes in C# and the relationship between a class and an object.
A Complete Java Classes Tutorial
2/7/2023 11:51:21 AM.
Java class is a basic concept of object-oriented programming. Java is an object-oriented programming language, so Everything in java is associated with java classes. In this article, we will learn abo
Sealed Class in C#
1/19/2023 10:58:03 AM.
C# sealed classes. The sealed keyword in C# language is used to create a sealed class. Sealed classes restricts classes to extend or inherit a class. The code examples of sealed classes in this articl
Types of Classes in C#
1/19/2023 10:46:00 AM.
In this article we will learn about various types of classes in C#.
What are different types of classes in C#?
1/19/2023 10:30:23 AM.
In this article, we will understand different types of classes in c#. There are four different types of classes in c#.
Record Classes - A Java 16 New Feature
12/30/2022 5:35:45 AM.
In this article, you will learn about record classes - a Java 16 new feature.
Create Virtual Environments With Azure Lab Services
12/4/2022 8:15:06 AM.
This article describes how Azure Lab Services replicates identical environments across multiple virtual machines
C# In Practice - Building Tech Support App
12/1/2022 10:25:39 AM.
In this article, you will learn about simple app building for beginners in C#.
Learn Object Oriented Programming Using C#: Part 1
11/18/2022 5:29:28 AM.
C# is totally based on OOPs. First of all, a class is a group of similar methods and variables.
Creating Your Own Exception Classes in C#
9/16/2022 11:07:04 AM.
In this article, I will explain you about Creating Your Own Exception Classes in C#.
All About C# Immutable Classes
9/15/2022 10:13:55 AM.
In this article, we are going to cover all the necessary information you need to know about Immutable classes in C#.
Sealed Classes - A Java 17 New Feature
9/5/2022 6:05:01 AM.
In this article, you will learn about new feature of Java 17- Sealed Classes.
Inheritance VS Composition
8/25/2022 7:11:08 AM.
The relationship among classes is one of the fundamental activities of software design. There are two ways to relate classes: inheritance and composition.
Anonymous Typed Classes in C#
8/23/2022 9:36:54 AM.
In this quick article, you will take a look at basics of anonymous typed classes in C#.
Abstract Classes And Methods
8/23/2022 9:09:24 AM.
This is a detailed analysis of Abstract classes and methods in C# with some concrete examples.
BinaryReader and BinaryWriter Classes in C#
8/22/2022 8:30:30 AM.
In this article, I will explain you about BinaryReader and BinaryWriter Classes in C#.
Elegant JavaScript - How Do They Write It?
8/8/2022 10:31:41 PM.
In this article, you will learn about Elegant JavaScript.
Get Started With OOPS In Flutter 😎
7/13/2022 11:52:50 AM.
Here cover some interesting topics like inheritance, abstract classes and computed properties.
Introduction of Classes in Flutter 3 😜
7/11/2022 6:09:34 PM.
In this article, we learn about classes in a flutter
Object-Oriented Programming Simplified With C# And .Net 5
6/28/2022 4:40:35 PM.
This article is about the general concepts of Object-Oriented Programming with examples in c sharp programming language.
Custom Collection Classes in C#
5/4/2022 8:36:42 AM.
This article explains custom collection classes in C# with an example.
Generic Collection Classes in C#
5/2/2022 7:31:08 AM.
The collections the System.Collections.Generic namespace are type safe and this article explains them.
Legacy Classes And Legacy Interface Of Collections API
4/28/2022 9:41:06 AM.
In this article, you will learn about legacy classes and legacy interface of collections api.
Generics in C# - Part II
4/1/2022 10:01:52 AM.
In part II of generics in C# we will see how to create generic classes, structures, interfaces, and delegates. We will also see how to create a custom generic collections.
Generics in C# - Part I
4/1/2022 9:44:48 AM.
In Part I of this series you will see the importance of generics, you will learn how to use generic types which in the System.Collections.Generic namespace and you will also learn how to create generi
Sealed Classes In Java
2/28/2022 4:57:28 AM.
The article explains what are sealed classes in Java, Sealed Interfaces, and explains one of the most important preview features of Java 17 “Pattern Matching” and how it works well with Sealed classes
Classes, Structures, And Records, Oh My!
2/18/2022 2:59:45 PM.
In this article, you will learn about Classes, Structures, and Records, Oh My!
C# and ASP.Net Interview Question and Answers
1/12/2022 10:47:24 AM.
In this article I will demonstrate C# and ASP.NET Interview Question and Answers.
Basics Of Creating And Using Classes In C#
1/3/2022 11:36:55 AM.
This chapter is the first of a series that will introduce you to how classes are created and used in C#. It covers the basics of creating and using classes.
Classes And Objects In Python
12/7/2021 3:00:17 PM.
In this article, you will learn about Class and Object in Python.
What's New In Java 16?
8/9/2021 5:49:43 AM.
This article has all new features Java 16 includes and is explained with reference from Oracle docs as well as my understanding with Java in this 4+ years of experience.
Classes And Objects
3/30/2021 1:22:59 PM.
In this article, users will know the importance of Class, Objects, and their references.
Data Classes On ADO.NET
3/10/2021 4:06:21 PM.
In this article, you will learn about Data Classes on ADO.NET.
Generic Classes And Functions
1/22/2021 6:25:21 PM.
In this article, you will learn about the concept of generic classes and functions.
Create Table Programmatically in ASP.NET
1/20/2021 11:42:20 AM.
In this article we will create a table in web application programmatically, instead of data base table we create a table in code behind file with the help of DataTable class.
Time Bomb: Set a Time to Shutdown Your Laptop
1/18/2021 9:39:47 AM.
This article provides a program that can shutdown your Laptop/Desktop at a specifeid time.
Class Diagram: An Easy Way to Understand Code
1/14/2021 1:04:16 PM.
The purpose of this article is to show how to create a class diagram and how to use it to understand code.
The table web control in ASP.NET
1/7/2021 11:48:59 AM.
In this article I will explain about creating the table web control in ASP.NET.
4 Real Time Use of Partial Classes and Partial Method
12/15/2020 6:37:22 AM.
In this article we will explain use of partial classes and partial methods for 4 real time.
Creating a Dynamic Data Web Site in ASP.NET 4.0
12/3/2020 3:15:38 AM.
You can create Dynamic Data Web sites in Visual Studio by using ASP.NET Dynamic Data templates.
Monitoring Remote Log Remotely using WMI in C# and .NET
12/2/2020 11:04:34 PM.
WMI (Windows Management Instrumentation) is a component of the Microsoft operating system that allows you to monitor virtually every piece of the system (either locally or remotely) as well as control
Reflecting Data In .NET Classes - Part IV - From Database Table
11/25/2020 11:55:22 PM.
In this article, we will be looking at how to reflect data from the most common data source - Database tables.
How Entity Framework Works
11/24/2020 1:20:38 AM.
In this article I am going to explore some interesting and important constructs of Entity Framework.
Partial Classes and Layouts in Blazor
11/3/2020 6:44:14 AM.
In this article, you will learn about Partial Classes and Layouts.
ADO.NET: What's changed in .NET Beta 2?
11/2/2020 9:11:16 AM.
ADO.NET API is one of the changed APIs. In this article, I've covered some of ADO.NET changes in Beta 2.
Schedule Program Using C#
10/30/2020 5:11:02 AM.
The Scheduling program consists of three main classes. The Form, the DatabaseController used to read and write scheduled events into the database and RowData which corresponds to data extracted from
ADO .NET Disconnected Classes
10/29/2020 2:51:47 AM.
In this article I will explain about the ADO.NET Disconnected Classes.
Get a database table properties
10/29/2020 1:01:05 AM.
Get a table properties such as column names, types etc using DataColumn and DataTable.
Using ADO.NET Data Providers
10/28/2020 7:01:43 AM.
In this article I will explain about using ADO.NET Data Providers.
Mapping Objects to Relational Databases
10/28/2020 2:45:52 AM.
The application generates C# Class files for each table in a relational database. I have used Mysql and ODBC.NET for this project. The application only supports MySQL right now.
Classes And Structures In Swift
6/1/2020 5:29:07 AM.
In this article, you will learn about class and structures in swift.
Let's Develop An Angular Application - Styling The Template Using CSS Validation Classes And ngModel Properties
5/29/2020 10:26:17 AM.
In this article, you will learn about styling the template using CSS Validation Classes and ngModel Properties.
Windows Forms Printer Selection List
5/21/2020 2:35:06 AM.
In this example we will create a sample windows form containing a combo box which will list the printers installed on the machine on which the program runs. The default printer for the machine is set
Metaclasses In JavaScript (ES6)
5/19/2020 9:39:18 AM.
In this article, I will describe how to dynamically construct classes at runtime. This concept, known as Metaclass, can be very powerful for niche use-cases.
POCO Classes in Entity FrameWork
5/19/2020 1:34:30 AM.
In this article, you will learn about POCO classes in Entity Framework.
How To: "Private" In JavaScript (ES6) Classes
5/13/2020 9:01:14 AM.
In this article, I cover briefly how you can achieve true private accessibility in JavaScript (ES6) classes.
Let's Develop an Angular Application - Adding Bootstrap Style Classes
5/5/2020 12:11:56 AM.
In this article, we will install and apply bootstrap classes in our application.
Various Syntaxes For Implementing Classes in JavaScript
4/23/2020 3:47:55 PM.
In this article we will learn about various syntaxes for defining a class in JavaScript.
Classes in JavaScript
4/14/2020 3:36:26 PM.
Thi article explains classes in JavaScript.
Python Classes And Objects
4/6/2020 8:54:56 AM.
In this article, I will explain Python classes and objects.