Dot Net

StringBuilder in C#

A String is immutable, meaning String cannot be changed once created. For example, new string "Hello World!!" will occupy a memory space on the heap. ...

Properties in C#

In C#, properties are nothing but natural extension of data fields. They are usually known as smart fields in C# community. We know that data encaps ...

C# Hashtable

The Hashtable class represents a collection of key-and-value pairs that are organized based on the hash code of the key. It uses the key to access the ...

C# Queue

C# includes a Queue collection class in the System.Collection namespace. Queue stores the elements in FIFO style (First In First Out), exactly opposit ...

C# Stack

C# includes a special type of collection which stores elements in LIFO style(Last In First Out). C# includes a generic and non-generic Stack. Here, y ...

C# SortedList

The SortedList collection stores key-value pairs in the ascending order of key by default. SortedList class implements IDictionary & ICollection inter ...

C# ArrayList

ArrayList is a non-generic type of collection in C#. It can contain elements of any data types. It is similar to an array, except that it grows automa ...

Collection in C#

C# includes specialized classes that hold many values or objects in a specific series, that are called collection. Collection classes are specialized ...

C# File Stream I/O

A file is a collection of data stored in a disk with a specific name and a directory path. C# includes static File class to perform I/ ...

Exception Handling in C#

An exception is a problem that arises during the execution of a program. A C# exception is a response to an exceptional circumstance that arises while ...

enums in C#

In C# enum is a value type data type. The enum is used to declare a list of named integer constants. It can be defined using the enum keyword directly ...

Structure in C#

In C# a structure is a value type data type. It helps you to make a single variable hold related data of various data types. A structure is a value ...

C# Interface

An interface in C# contains only the declaration of the methods, properties, and events, but not the implementation. It is left to the class that impl ...

C# Polymorphism

When a message can be processed in different ways is called polymorphism. Polymorphism means many forms. The word polymorphism means having many fo ...

C# Inheritance

One of the absolute key aspects of Object Oriented Programming (OOP), which is the concept that C# is built upon, is inheritance, the ability to crea ...

C# Encapsulation

Encapsulation is defined as the process of enclosing one or more items within a physical or logical package . Encapsulation, in object oriented progr ...

C# String

Strings are one of the most important data types in any modern language C#. The string class defined in the .NET base class library represents text as ...

C# Arrays

We have learned that a variable can hold only one literal value, for example int x = 1;. Only one literal value can be assigned to a variable x. Supp ...

Introduction of C# Methods

A method is a group of statements that together perform a task. A method helps you separate your code into modules that perform a given task. Meth ...

Introduction to C# classes

A class is a group of related methods and variables. A class describes these things, and in most cases, you create an instance of this class, now refe ...


Recent Posts





















Like us on Facebook