Why Join
Become a member
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
TECHNOLOGIES
ANSWERS
LEARN
NEWS
BLOGS
VIDEOS
INTERVIEW PREP
BOOKS
EVENTS
CAREER
MEMBERS
JOBS
About Class
A
Class
is set of or collection of objects which are dealing within particular
Class.
In Oops programming language
Class
word is used id used for number objects which have different-2 behaviors
. Class
are templates that are used to create objects and to define object data types and methods. Core properties include the data types and methods that may be used by the object. All class objects should have the basic class properties.
Class
are categories and objects are items within each category. A
Class
is used in object oriented programming to describe one or more objects. It serves as a template for creating or instantiating, specific objects within a program. While each object is created from a single class one class can be used to instantiate multiple objects. Several programming languages support
Class
including Java, C++, Objective C, and PHP 5 and later. While the syntax of a class definition varies between programming languages classes serve the same purpose in each language. All classes may contain variable definitions and methods, or subroutines that can be run by the corresponding object.
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 (15)
Mike Gold (8)
Ajay Yadav (3)
Sean Franklin (3)
Pankaj Patel (3)
Rikam Palkar (3)
Amit Patel (2)
Sourav Kayal (2)
Vulpes (2)
Ashish Bhatnagar (2)
Atul Warade (2)
Rohatash Kumar (2)
Shervin Cyril (2)
Sandeep Singh Shekhawat (2)
Nimit Joshi (1)
Shubham Srivastava (1)
Abhishek Kumar Ravi (1)
Sara Silva (1)
Praveen Kumar (1)
C# Curator (1)
Teddy Olson (1)
Mohammad Shahid Solanki (1)
Ankit Mori (1)
Senthilkumar (1)
Sam Haidar (1)
Shivprasad (1)
Ehsan Sajjad (1)
Akshay Teotia (1)
Vidya Vrat Agarwal (1)
Tin Lam (1)
Anupam Singh (1)
Shreesh Raj (1)
Raichand Ray (1)
Mudita Rathore (1)
Anna Rita (1)
Swati Chavan (1)
Alok Pandey (1)
Surapureddy Sriram (1)
mingyongy (1)
Abhijit Patil (1)
Levent Camlibel (1)
Am Ansari (1)
Manish Sharma (1)
C# Corner Live (1)
Sri Kanth (1)
Manas Mohapatra (1)
Satyajit Paul (1)
Kunj Sangani (1)
Sandhya Shinde (1)
Aman Gupta (1)
Hadshana Kamalanathan (1)
Abhishek Mishra (1)
Vinoth Rajendran (1)
David Mccarter (1)
Nitin Desai (1)
Vijay Kumari (1)
Erika Ehrli Cabral (1)
Prasad (1)
Vijay K (1)
Dipal Choksi (1)
Munesh Sharma (1)
Vipin Kumar (1)
Preeti Zutshi (1)
Related resources for Class
No resource found
Working With Model Class and Connection String in MVC 5
1/20/2021 11:49:02 AM.
This article introduces how to work with Models and Connection Strings and helps you to add some classes for the application for helping manage databases and to create or maintain the Connection Strin
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.
Portable Class Library in .NET 4.0/4.5
1/16/2021 10:49:10 AM.
Few days back I was working windows phone application as usual I created class library project for keeping separate business login. But I realize we cannot add as a reference normal class library in t
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.
Changes To Base Class Library With .NET Framework 4.6
1/14/2021 12:44:42 PM.
In this article we will learn about the changes in the Base Class Libraries.
Remote Sensing and Remote Control over the Internet with GP-3 Board
1/14/2021 11:16:49 AM.
In this article we will revisit the GP-3 board (which we have employed in a few other hardware projects on C# Corner) and use the GP-3 to measure temperature in a remote location.
HttpContext Class in ASP.Net
1/8/2021 7:32:38 AM.
This article provides a slow introduction to the HttpContext class and its use for authentication.
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.
Overview Of InternalsVisibleToAttribute Class In .NET
1/6/2021 9:22:16 AM.
In this article you will learn about InternalsVisibleToAttribute class in .NET.
Three Digit Sum Using Tuple in C#
1/1/2021 5:06:21 AM.
In this article, we will be discussing an algorithm which returns possible (no. of pairs) digit pairs that are equal to a given number (6) using Tuple class.
What Is Startup Class And Program.cs In ASP.NET Core
12/30/2020 9:52:25 PM.
This Article brief you understanding of Startup file and program.cs file in Asp.NET Core Application.
C# List Tutorial
12/19/2020 2:41:30 PM.
Learn how to use C# List and its methods and properties.
DriveInfo Class in C# with an Example
12/18/2020 5:04:51 AM.
The DriveInfo class in the System.IO namespace provides a way to get drive details.
Late Binding With Reflection
12/17/2020 4:45:51 AM.
Component based technology has done great things for software development, allowing reuse and leading to better-written code that separates subjects and entities into distinct components.
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.
.NET Binary Reverse Engineering: Part 1
12/7/2020 2:08:06 AM.
The prime objective of this article is to explain the .NET mother language called Common Instruction Language (CIL) that has laid the foundation of .NET.
Understand Virtual Object.Equals, Static Object.Equals and Reference.Equals in Object Class
12/6/2020 11:03:53 PM.
In this article, you will learn about equality in .NET.
Implement Many-To-Many Relationship in C# Class
12/6/2020 9:44:11 PM.
In this article we will see how to implement a Many-To-Many relationship in a C# class.
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.
Web Service Class and Directive in ASP.NET
12/3/2020 1:29:51 AM.
A look at the options for configuring a Web Service using the Web Service class of the System.Web.Services namespace and directives that are available with ASP.NET.
Cross Language Interoperability With C# .NET
12/2/2020 11:34:51 PM.
As you know Microsoft .NET is designed with cross language interoperability. I.e. two .NET compliant languages can interoperate with each other. Which simply means a function in VB .NET can be called
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.
A Dictionary Class Which Permits Duplicate Keys
11/24/2020 4:45:09 AM.
The .NET framework contains a number of ‘Dictionary’ classes.
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.
How To Use StringBuilder And File Class For .NET Application
11/23/2020 8:17:40 AM.
Here, I am going to share how and why should we create error log in our application.
Using Memory-Mapped Files
11/23/2020 6:39:34 AM.
MemoryMappedFile is an interesting new class in version 4.0 of the .NET Framework which resides in the System.IO.MemoryMappedFiles namespace.
Django CRUD And User Authentication With Django Class-Based View And PostgreSQL Database Server
11/22/2020 8:59:15 PM.
In this article, you will learn about Django CRUD and User Authentication with Django Class Based View using the PostgreSQL Database Server.
Intro To Record Types In C# 9
11/16/2020 6:15:39 PM.
In this article, I will describe the new Record Type feature in the 9.0 release of the C# language, as a part of .NET 5.
Styling Built-In Directives Like NgStyle And NgClass - Angular
11/16/2020 9:21:38 AM.
In this article, you will learn about Styling Built-In Directives Like NgStyle And NgClass - Angular.
Passing Values Between TextBox of Different Forms Using Class
11/12/2020 8:03:27 AM.
In this article, I describe how to pass data from one form to another form in a Windows application using C#.
ADO.NET Overview
11/4/2020 8:09:07 AM.
In this article we examine the connected layer and learn about the significant role of data providers that are essentially concrete implementations of several namespaces, interfaces and base classes.
Overview of ADO.NET Architecture
11/4/2020 7:42:34 AM.
In this article you will learn about the architecture of ADO.NET including the Connection, Command, Data Reader, DataAdapter and DataTable classes.
How To Create The Multi-level Class Library DataEntityTier
11/4/2020 2:48:29 AM.
Here you will learn how to create the multi-level class library DataEntityTier.
Partial Classes and Layouts in Blazor
11/3/2020 6:44:14 AM.
In this article, you will learn about Partial Classes and Layouts.
Working With the SqlParameter Class in ADO.NET
11/3/2020 6:29:13 AM.
In this article you will learn about the SqlParameter class and its properties.
Data Access Layer to execute Stored Procedures
11/3/2020 1:03:35 AM.
This article explains about executing a single stored procedure or batch of stored procedures from the application layer. As Data access layer completely decoupled from Application layer we just need
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.
CDataService: A Generic Database Access Class
11/2/2020 5:13:26 AM.
Using a generic database access component in data-aware applications can simply development and separate data tier from business tier.
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 Class Hierarchy
10/30/2020 2:27:31 AM.
In this article I will explain about the ADO.NET class hierarchy provided by the .NET Runtime class library. These classes represent ADO.NET components.
Understanding the DOM Implementation
10/29/2020 5:46:37 AM.
In this article I will explain you about DOM implementation in C# and .NET.
Data Column in ADO.NET
10/29/2020 4:16:38 AM.
In this article I will explain about Data Colum in ADO.Net.
ADO .NET Disconnected Classes
10/29/2020 2:51:47 AM.
In this article I will explain about the ADO.NET Disconnected Classes.
Write Relational Data to an XML File
10/29/2020 2:38:19 AM.
This article shows you how you can write data from a database to an XML file using DataSet.
Introduction To ADO.NET: Part 2
10/29/2020 1:48:15 AM.
This article explains the basic details of ADO.NET Part 2.
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.
Threads In C#
10/24/2020 12:24:59 AM.
Learn how to use threads in C#.
Basics Of C#
9/24/2020 9:31:27 PM.
This article explains C# basics with C# code examples including C# data types, class, objects, properties, and methods. You'll also learn basic OOP concepts such as overloading, polymorphism, abst
Difference between abstract class and interface in C#
9/24/2020 9:20:39 PM.
In this article I have explained the difference between Abstract Class and Interface with some examples and some information about an Interface.
Classification Model with Automated ML : Azure AI Show Ep. 3
9/23/2020 5:18:58 AM.
This is the third episode of the Azure AI Show.
Static Class In C#
9/22/2020 8:13:09 AM.
C# static keyword is used to create a static class. A static class in C# is a class that cannot be instantiated. A static class can only contain static data members including static methods, static co
Sealed Class in C#
9/22/2020 8:11:43 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
When To Use Static Classes In C#
9/21/2020 9:47:57 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
Working With DateTime Using C#
9/19/2020 9:04:20 PM.
The C# DateTime structure represents dates and time in C# and .NET. This tutorial explains C# DateTime class, its members, properties and how to use them to perform DateTime tasks such as format dates
DateTime In C#
9/19/2020 10:03:25 AM.
Here is a detailed tutorial on C# DateTime class and how to work with dates and times using C#.
Private Constructor - C#
9/16/2020 7:36:29 AM.
In this article, you will learn about Private Constructor - C#.
Abstract Class Vs Interface - C#
9/14/2020 11:38:28 AM.
In this article, you will learn about Abstract Class Vs Interface - C#.
How To Create A Classic Site In SharePoint Online
9/14/2020 8:36:33 AM.
This article explains how to create a SharePoint site with classic experience in Microsoft 365 tenant – by out of the box means and also via PowerShell.
Function And Class Component In React With SPFx
8/31/2020 10:07:39 AM.
This article will help us understand function and class components in React. We will use it with SPFx.
Change Detection Technique And Directives In Angular
8/24/2020 7:20:22 AM.
In this article, we are going to explore how Angular detects the changes and updates it in the application at respective places. Also we are going to discuss about directives in angular.
Learn About Partial Class In C#
8/17/2020 8:15:48 AM.
As per the definition, partial means favouring one side over another, but C# begs to differ. C# treats partial classes or methods equally.
Model And View Components In Struts
8/7/2020 7:58:07 AM.
In any MVC based application , a Model component typically is one of the most important components as it implements the core business logic and the data access functionality. They resemble real-life
Implement Background Task Using BackgroundService Class In ASP.NET Core
8/6/2020 2:33:22 PM.
In this article, we try to understand how to use the BackgroundService Class for implementation of Background Task.
Java 8 - Optional Class
8/4/2020 1:07:58 PM.
In this article, you will learn about the optional class and its usage.
Controller Component In Struts
7/31/2020 8:07:06 AM.
The core of struts, which is based on MVC architecture, is the controller component. The controller is a Servlet that receives requests from the application.
Implement Background Tasks In Microservices With IHostedService And BackgroundService Class In .NET
7/31/2020 7:59:25 AM.
Here, we try to understand Implementing Background Task in microservices using IHostedService and BackgroundService class.
Azure Application Insights Resources (Classic And Workspace-Based)
7/28/2020 8:18:05 AM.
In this article, you will learn about Azure Application Insights Resources (Classic andworkspace-based).
Azure Kubernetes Service - Storage
7/28/2020 7:39:16 AM.
In this article, we will explore pods in the Azure Kubernetes Service.
ActivityHandler helper class in Bot Framework - Python
7/28/2020 2:34:06 AM.
This video explains what is Activity,ActivityTypes and ActivityHandler in bot framework using Python.
OOP - Encapsulating Business Logic In Class Properties
7/24/2020 11:33:25 AM.
In this article, you will learn about OOP - Encapsulating business logic in Class Properties.
Integrating Azure Key Vaults With Classic ASP.NET Applications
7/17/2020 6:03:50 AM.
This article gives a walkthrough of the steps on how to take an existing ASP.NET application running in Azure App Service, and without touching the C# code, configure it in a way that it will retrieve
File Class Tutorial in Java
7/16/2020 6:03:21 AM.
In this article, we will learn about the Java File class, its basic methods, and constructors provided by Java programming language.
Why Does An Abstract Class Needs A Constructor?
6/20/2020 6:44:39 AM.
In this article, you will learn about why an abstract class needs a constructor.
Purpose Of Abstract Class In Object Oriented Programming
6/20/2020 6:07:51 AM.
We have been using abstract class for a while. Let's understand why it was actually introduced.
Deployment: Customizing your .NET deployment Projects
6/9/2020 1:18:08 AM.
The fact of the matter is that Visual Studio.NET already contains everything you need to create a rich setup experience for your users. In this article we are going to show you two ways to add a readm
OOPS Concepts And .NET - Part Two - Inheritance, Abstraction And Polymorphism
6/3/2020 1:31:46 AM.
The following article is the second of a three-part article series that presents definitions and samples for different Object-Oriented Programming (OOP) concepts and its implementation in .NET
Creating C# Class Library (DLL) Using Visual Studio .NET
6/3/2020 12:15:15 AM.
This tutorial explains how to create a C# class library(dll) and call it from a C# console client application. In this tutorial we will see how to build a Class Library, and to build a client applicat
Regular Expressions In C#
6/2/2020 11:59:56 PM.
C# Regex class provides functions to implement regular expressions. The code example include how to use Regular Expressions in C# for IsNaturalNumber, IsWholeNumber, IsPositiveNumber, IsInteger, IsNum
Working With C# Arrays
6/2/2020 11:56:29 PM.
C# Array is a common data type. Learn how to use arrays in C#.
Classes And Structures In Swift
6/1/2020 5:29:07 AM.
In this article, you will learn about class and structures in swift.
Highlight Table Row on Hover Using Twitter Bootstrap
6/1/2020 12:52:22 AM.
In this article we use some custom CSS with Twitter Bootstrap CSS to highlight a table row on hover.
Creating DropDown Menu in Bootstrap
6/1/2020 12:35:31 AM.
In this article we use some built-in CSS to make a menu more attractive for your website, like DropDown Menus and active tab.
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.
Printing Invoices using C# and .NET
5/21/2020 4:31:07 AM.
This program can stand improvements but it will get you started in creating an invoice and printing it to the printer.
Printing out your W2 Form using C# and .NET
5/21/2020 4:18:14 AM.
This article covers a fairly practical aspect of using a computer - dealing with forms.
Editable GridView Control in C# and .NET - Part-III Printing the GridView
5/21/2020 4:06:12 AM.
In our last two articles, we talked about how to create an editable GridView and how to make it persistent in XML.
How To: Printing Form Controls in C# and .NET
5/21/2020 2:56:36 AM.
The other day a user asked me how to print out a form. I suggested they use my Form Capture article which catches the bitmap that the form is in by using bit belting commands from the old windows SDK.
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.
Using CSS Pseudo-Class
5/7/2020 7:06:56 AM.
In this article you will learn how to use CSS Pseudo-class.
Priority of CSS Values For an HTML Document
5/7/2020 6:20:39 AM.
If we give different values for a single property to the same selector of an HTML document then this article describes which value will have the highest priority.
Simplify JavaScript Object Oriented Programming Model: Part 2
5/5/2020 2:48:17 AM.
This article provides a simplified explanation of the JavaScript Object Oriented Programming Model.
Simplify JavaScript Object Oriented Programming Model: Part 1
5/5/2020 1:45:15 AM.
In this article we learn about the JavaScript Object Oriented Programming Model.
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.
- Ebook
Source Code: Graphics Programming with GDI+
Graphics Programming with GDI+ is the .NET developer's guide to writing graphics appl...
Download