A thread is defined as the execution path of a program. Each thread defines a unique flow of control. If…
Read More

A thread is defined as the execution path of a program. Each thread defines a unique flow of control. If…
Read More
C# allows using pointer variables in a function of code block when it is marked by the unsafe modifier. The…
Read More
We discussed that delegates are used to reference any methods that has the same signature as that of the delegate.…
Read More
Collection classes are specialized classes for data storage and retrieval. These classes provide support for stacks, queues, lists, and hash…
Read More
Events are user actions such as key press, clicks, mouse movements, etc., or some occurrence such as system generated notifications.…
Read More
C# delegates are similar to pointers to functions, in C or C++. A delegate is a reference type variable that…
Read More
An indexer allows an object to be indexed such as an array. When you define an indexer for a class,…
Read More
Properties are named members of classes, structures, and interfaces. Member variables or methods in a class or structures are called…
Read More
Reflection objects are used for obtaining type information at runtime. The classes that give access to the metadata of a…
Read More
An attribute is a declarative tag that is used to convey information to runtime about the behaviors of various elements…
Read More
A file is a collection of data stored in a disk with a specific name and a directory path. When…
Read More
An exception is a problem that arises during the execution of a program. A C# exception is a response to…
Read More
A regular expression is a pattern that could be matched against an input text. The .Net framework provides a regular…
Read More
The preprocessor directives give instruction to the compiler to preprocess the information before actual compilation starts. All preprocessor directives begin…
Read More
A namespace is designed for providing a way to keep one set of names separate from another. The class names…
Read More
An interface is defined as a syntactical contract that all the classes inheriting the interface should follow. The interface defines…
Read More
You can redefine or overload most of the built-in operators available in C#. Thus a programmer can use operators with…
Read More
The word polymorphism means having many forms. In object-oriented programming paradigm, polymorphism is often expressed as ‘one interface, multiple functions’.…
Read More
One of the most important concepts in object-oriented programming is inheritance. Inheritance allows us to define a class in terms…
Read More
When you define a class, you define a blueprint for a data type. This does not actually define any data,…
Read More
An enumeration is a set of named integer constants. An enumerated type is declared using the enum keyword. C# enumerations…
Read More
In C#, a structure is a value type data type. It helps you to make a single variable hold related…
Read More
In C#, you can use strings as array of characters, However, more common practice is to use the string keyword…
Read More
An array stores a fixed-size sequential collection of elements of the same type. An array is used to store a…
Read More
C# provides a special data types, the nullable types, to which you can assign normal range of values as well…
Read More
A method is a group of statements that together perform a task. Every C# program has at least one class…
Read More
Encapsulation is defined ‘as the process of enclosing one or more items within a physical or logical package’. Encapsulation, in…
Read More
There may be a situation, when you need to execute a block of code several number of times. In general,…
Read More
Decision making structures requires the programmer to specify one or more conditions to be evaluated or tested by the program,…
Read More
An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations. C# has rich set…
Read More
The constants refer to fixed values that the program may not alter during its execution. These fixed values are also…
Read More
A variable is nothing but a name given to a storage area that our programs can manipulate. Each variable in…
Read More
Type conversion is converting one type of data to another type. It is also known as Type Casting. In C#,…
Read More
The variables in C#, are categorized into the following types − Value types Reference types Pointer types Value Type Value…
Read More
C# is an object-oriented programming language. In Object-Oriented Programming methodology, a program consists of various objects that interact with each…
Read More
Before we study basic building blocks of the C# programming language, let us look at a bare minimum C# program…
Read More
In this chapter, we will discuss the tools required for creating C# programming. We have already mentioned that C# is…
Read More
A namespace is a section of code that is identified with a specific name. The name could be anything such…
Read More
In the previous two lessons, to use a variable, we were declaring it using either var or a known and…
Read More
A double-word is a group of two consecutive Words. This means that a double-word combines 4 bytes or 32 bits.…
Read More
A computer receives information from different applications in various forms. Sometimes a person types it using the keyboard. Sometimes the…
Read More
Console Applications The C# language is used to create applications that display on a black window referred to as the…
Read More