Related resources for Classes
  • 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 Practices4/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 Step3/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.
  • Understanding the Art of C# Generics3/1/2024 4:22:06 AM. 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
  • 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 Classes1/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 Objects1/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 Guide1/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 Example11/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 Examples11/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 Classes10/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 Example10/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.
  • Polynomials10/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 Polymorphism10/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 Classes9/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 Compilation9/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 classes9/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 Class9/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 Characteristics9/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 - Part19/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 Class8/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 Example8/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-world7/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 Java6/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 methods6/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 Modify3/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 Tutorial2/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 Feature12/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 App12/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 111/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 Classes9/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 Feature9/5/2022 6:05:01 AM. In this article, you will learn about new feature of Java 17- Sealed Classes.
  • Inheritance VS Composition8/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 Methods8/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 56/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 API4/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 II4/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 I4/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 Answers1/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 Python12/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 Objects3/30/2021 1:22:59 PM. In this article, users will know the importance of Class, Objects, and their references.
  • Data Classes On ADO.NET3/10/2021 4:06:21 PM. In this article, you will learn about Data Classes on ADO.NET.
  • Generic Classes And Functions1/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.NET1/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 Laptop1/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 Code1/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 Method12/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.012/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 .NET12/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 Table11/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 Works11/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 Blazor11/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 Classes10/29/2020 2:51:47 AM. In this article I will explain about the ADO.NET Disconnected Classes.
  • Get a database table properties10/29/2020 1:01:05 AM. Get a table properties such as column names, types etc using DataColumn and DataTable.