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]
Ajay Kumar (7)
C# Curator (4)
Ashish Bhatnagar (3)
Lokendra Singh (3)
Tin Lam (3)
Naveed Zaman (3)
Sandeep Singh Shekhawat (3)
Mahesh Chand (3)
Jitendra Mesavaniya (2)
Darshan Adakane (2)
Gurpreet Arora (2)
Farhan Ahmed (2)
Abhimanyu K Vatsa (2)
Rajesh VS (2)
Aman Gupta (2)
Tural Suleymani (2)
Sangeetha S (1)
Baibhav Kumar (1)
Shaili Dashora (1)
Arpit Shrivastava (1)
Vijay Yadav (1)
Vipin Kumar (1)
Menaka Priyadharshini B (1)
Habibul Rehman (1)
Abhishek Yadav (1)
Senthilkumar (1)
Prashant Nimbare (1)
Ck Nitin (1)
Ashish Shukla (1)
Shivprasad (1)
Ashutosh Singh (1)
Jaimin Shethiya (1)
Akkiraju Ivaturi (1)
Venkateshwar Reddy (1)
Jignesh Kumar (1)
Abhishek Khandare (1)
Vishal Yelve (1)
Mukesh Nailwal (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)
Tahir Ansari (1)
Bechir Bejaoui (1)
Bhuvanesh Mohankumar (1)
Roshan Patil (1)
Gnanavel Sekar (1)
Praveen Kumar (1)
Jagannath Sethi (1)
Michael Youssef (1)
Vidya Vrat Agarwal (1)
Selva Ganapathy (1)
Pradeep Vaishya (1)
Deepak Kumar (1)
Annathurai Subbaiah (1)
Erika Ehrli Cabral (1)
Deepak Rawat (1)
David Mccarter (1)
Ayan Ansuman (1)
Neeraj Sharma (1)
Vijay Kumari (1)
Vithal Wadje (1)
Oscar Santos (1)
Atul Sharma (1)
Jignesh Trivedi (1)
Navin Prakash (1)
Related resources for Classes
No resource found
.NET 9 Features with Code Example
11/19/2024 4:42:05 AM.
Learn how abstraction simplifies complex systems by unifying interfaces, abstract classes, and dependency injection. Build modular, maintainable, and testable applications with this comprehensive guid
Introduction to Python Classes
10/22/2024 5:14:06 AM.
Learn how to define classes, create objects, and understand key OOP concepts like inheritance and encapsulation. Perfect for new programmers looking to master Python's class-based structure.
Bootstrap For Beginners - Part Two (Bootstrap Containers)
10/3/2024 11:31:45 AM.
This article explores Bootstrap containers, focusing on the two main classes: .container for a responsive fixed-width layout and .container-fluid for a full-width layout. It provides practical example
Explaning Wrapper Classes in Java
9/23/2024 8:49:27 AM.
This is essential for utilizing Java’s object-oriented features, such as collections. With autoboxing and unboxing, Java simplifies conversions between primitives and their corresponding wrapper class
Entity Framework Core Code-First Approach with Seed Data
9/9/2024 7:11:51 AM.
It will be beneficial to beginners who are struggling with Entity Framework Core and Creating Code-First Approach. The EF-Core Code-First approach involves creating domain classes first and then gener
Object-Oriented Programming (OOP) in .NET
8/22/2024 5:03:34 AM.
This article explores Object-Oriented Programming (OOP) within the .NET framework, focusing on core concepts such as classes, objects, inheritance, polymorphism, encapsulation, and abstraction.
Using CSS Pseudo-Class
8/21/2024 6:44:19 AM.
This article explains how to apply CSS Pseudo-classes with text-decoration to enhance navigation bars. Learn to use a:link, a:hover, a:visited, and a:active to style links dynamically.
How To Create DropDown And Pagination In Bootstrap 4
8/16/2024 7:55:53 AM.
This article provides a step-by-step guide on using Bootstrap 4 for dropdowns and pagination. Learn to create responsive dropdown menus and pagination components with Bootstrap’s built-in classes and
Understanding Sealed Classes in C#
7/22/2024 8:27:05 AM.
Sealed classes in C# are a vital concept in object-oriented programming, preventing other classes from inheriting them. This ensures a secure and stable class hierarchy by stopping further extension.
Object Oriented Programming in Python
7/19/2024 5:03:08 AM.
Object Oriented Programming in Python" delves into the principles and concepts of OOP using Python. This guide covers classes, objects, inheritance, polymorphism, and encapsulation, providing pra
Understanding the Art of C# Generics
7/10/2024 2:04:05 PM.
Unlock the power of C# Generics with our comprehensive guide. Master best practices, explore advanced scenarios, and elevate your coding skills with this in-depth C# Generics tutorial. Learn to write
Python Data Classes: Reducing Boilerplate and Improving Readability
7/9/2024 10:31:18 AM.
Discover the advantages of Python data classes in this insightful article. Learn how they reduce boilerplate code and enhance readability, making your programming tasks more efficient.
Exploring Record Classes in Java
6/28/2024 9:03:23 AM.
Discover the simplicity and power of record classes in Java with our comprehensive guide. Explore how Java's record classes, introduced in Java 14, streamline the creation of immutable data struct
StreamReader And StreamWriter Classes In C#
6/14/2024 10:42:15 AM.
Learn about StreamReader and StreamWriter classes in C#. These classes are essential for reading from and writing to files efficiently. Understand their usage for file handling tasks, including readin
Custom Collection Classes in C#
6/3/2024 10:09:23 AM.
Learn how to create a custom collection class in C#, utilizing the Customer class with attributes. Implement and manage customer data with CollectionBase, including methods for adding, removing, and a
Inserting Data in the Database Using LINQ to SQL
5/30/2024 10:28:32 AM.
Using LINQ to SQL, insert data into databases effortlessly. Utilize LINQ query expressions, entity classes, and DataContext to map objects to database tables. Ensure proper error handling and concurre
Hide Base Class Members in C# .NET with new Keyword
5/30/2024 7:05:09 AM.
In C# .NET, the new keyword allows derived classes to hide members of a base class. This technique, known as member hiding or shadowing, is used to define a new implementation for a member without ove
Reflecting Data in .NET Classes-Part III: From Windows Forms
5/27/2024 11:59:12 AM.
Reflecting Data in .NET Classes-Part III: From Windows Forms" explores advanced techniques for dynamically accessing and displaying data in .NET applications using Windows Forms. This part focuse
Reflecting Data to .NET Classes: Part II
5/27/2024 11:58:38 AM.
This article continue the series of Reflecting Data to .NET Classes. In the first article, we discussed the concept “Reflecting Data”. The techniques behind it were also explained and demonstrated. Th
Some Important Keywords of C#: Part 1
5/24/2024 9:36:12 AM.
This is very simple part 1 article but will clear some of the concepts of C# for those who are learning or for those also who might have good knowledge but unfortunately miss these important keywords.
Learn Object Oriented Programming Using C#: Part 5
5/24/2024 8:55:43 AM.
Delve deeper into Object-Oriented Programming with C# in Part 5 of our series. Explore advanced concepts like inheritance, polymorphism, and encapsulation, empowering you to build robust and efficient
Learn Object Oriented Programming Using C#: Part 1
5/24/2024 4:29:44 AM.
Embark on your journey to master Object-Oriented Programming with C# in Part 1. Explore essential concepts like classes, methods, properties, and inheritance, laying the foundation for advanced C# dev
Reflecting Data In .NET Classes - Part IV - From Database Table
5/17/2024 10:36:57 AM.
In this segment of "Reflecting Data In .NET Classes," Part IV focuses on generating .NET classes from database tables. Utilizing reflection, it maps database schema to object-oriented struct
Object Oriented Programming Using C#: Part 9
5/13/2024 11:52:47 AM.
Explore advanced concepts in C# Object-Oriented Programming (OOP) in this ninth installment. Dive into topics like inheritance, polymorphism, encapsulation, and more. Learn how to leverage these princ
Understanding the Connections Between Classes in OOP
5/10/2024 7:58:52 AM.
Understanding how different tools in a toolbox are used to build something. This guide helps you see how these classes share information and work together to create software, making it easier to under
CRUD Operations Using the Generic Repository Pattern and Unit of Work in MVC
5/9/2024 11:57:10 AM.
Implement CRUD operations in MVC using the Generic Repository Pattern and Unit of Work. Abstract data access logic, promote code reusability, and maintainability. Ensure separation of concerns and sca
CRUD Operations Using Entity Framework 5.0 Code First Approach in MVC
5/9/2024 11:56:39 AM.
Perform CRUD operations in MVC using Entity Framework 5.0's Code First approach. Define entity classes, utilize DbContext and LINQ for data access, and generate views and controllers with scaffold
What are Classes in Object Oriented Programming (OOP)
5/8/2024 10:20:54 AM.
Classes in OOP serve as blueprints for creating objects. They encapsulate data and behavior, promoting modularity and code reuse through inheritance and polymorphism, essential for building scalable a
Reflection and Attributes in C#
5/8/2024 10:16:45 AM.
Reflection in C# allows examining and manipulating types, methods, and other members at runtime. Attributes provide metadata to annotate code elements, aiding in customization and dynamic behavior. To
4 Real Time Use of Partial Classes and Partial Method
4/26/2024 12:17:26 PM.
Learn how to leverage partial classes and partial methods in real-time applications with C#. Explore their use for modular design, event-driven programming, and code organization. Discover how they en
User Input Management with SegmentManager in C#
4/25/2024 5:42:35 AM.
In C#, one such tool that simplifies user input management is the `SegmentManager` class. This article delves into how the `SegmentManager` class facilitates the handling of user input in a structured
Learn about Extensions in C#
4/22/2024 8:30:46 AM.
Learn about extending class functionality in C# using extension methods without altering source code. Understand inheritance vs. extensions, handling sealed classes, method chaining, and key points li
Singleton Vs Static Classes in C#
4/17/2024 4:49:59 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?
C# Structs: Performance Benefits, Usage, and Best Practices
4/1/2024 4:25:28 AM.
This article provides an insightful overview of structs in C#, detailing their value type nature, stack allocation, and key characteristics. It includes examples and considerations for when to use str
What is a Sealed Classes in C#?
3/28/2024 6:49:58 AM.
In C#, the concept of inheritance plays a vital role in object-oriented programming (OOP). Developers often design class hierarchies to create a relationship between different types of objects. Howeve
Code First Migrations In Entity Framework Step By Step
3/21/2024 7:25:30 AM.
Learn how to define model classes, configure database mappings, set up connection strings, and utilize Package Manager Console commands to manage migrations efficiently in your ASP.NET application.
Creating Custom NuGet Packages in C#
3/10/2024 9:32:06 AM.
Learn how to create custom NuGet packages in C# with this step-by-step guide. Set up a project, add components, create a .nuspec file, package your project, and optionally publish to nuget.org.
Usage of Classes, Structs, and Records in C#
2/26/2024 10:34:08 AM.
In the world of C# programming, choosing the right data structure can significantly impact the efficiency and readability of your code. In this article, we'll delve into the nuances of each const
Learn about Sealed Classes in C#
2/14/2024 6:09:40 AM.
In C# programming, sealed classes offer control over inheritance but can be restrictive. This article delves into unlocking their potential using extension methods and the decorator pattern. These tec
Visual Studio Feature: Convert JSON or XML to Classes
1/30/2024 11:49:16 AM.
In this article, I will demonstrate how to use the Visual Studio feature Paste JSON as Classes or XML as Classes. This feature was introduced in Visual Studio 2013. This compelling feature will help t
What is Command Pattern in C#?
1/25/2024 9:44:59 AM.
The Command Pattern, a behavioral design pattern in C#, transforms requests into stand-alone objects, promoting decoupling between sender and receiver. It enhances flexibility, undo/redo capabilities,
Deep Dive into Classes and Objects
1/10/2024 7:09:53 AM.
Welcome, fellow programmers! Here, we will dive into the world of classes and objects. Classes and objects are fundamental in programming. This post unravels the essence of classes, abstract data type
Creating a Java Package - Hands-On Guide
1/5/2024 5:27:48 AM.
In my preceding article, we delved into the foundational understanding of Packages and their significance in Java programming. Now, building upon that knowledge, this article aims to provide a practic
Common Mistakes and How to Avoid Them in C#
1/5/2024 5:08:24 AM.
In this article, we will learn how to avoid common mistakes in C# programming. From efficient null checking and using tuples instead of classes to optimizing string concatenation and evaluating defaul
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.
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#.
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.