Saving data to a file can be a very powerful technique when it comes to data analysis or reporting. If you are creating a C# application, you can create a CSV file to save your
The Math class contains many different mathematical functions. They include functions related to decimal rounding, trigonometry, powers, and square roots. Below is a list of some
One of the most important concepts in object-oriented programming is Inheritance. Inheritance allows us to define a class in terms of another class, which makes it easier to
Polymorphism in C # can be static or dynamic. In particular, a static polymorph can be called a static polymorph, a response to a function defined at compile time and a dynamic
Overloading Operator is Operator Overload. You can redefine or overload most existing operators in C #.
An Interface is defined as a contract with syntactical contract that all Interface inheritance classes should follow. Interface defines what part of the covenant and inheritance
In C #, namespaces are designed to keep a set of distinct names separated. The same class names that are declared in different namespaces do not conflict with each other
Preprocessor Directive directives provide instructions to the compiler to preprocess the information before the actual compilation process begins. All preprocessor directives in C
A regular expression is a pattern that can be matched to an input text. The .Net Framework provides a regular expression that allows matching like that. In C #, a pattern
An Exception is an issue that occurs during the execution of a program. An Exception in C # is a response to an exception situation that occurs while a program is running, such as
A file is a collection of data stored on the drive with a specific name and a directory path. When a file is opened for reading or writing, it becomes a stream.
The attribute in C #, is a declaration tag, used to transmit information to the runtime about the behavior of various elements such as classes, methods, structures, enum,
Reflection objects are used to obtain type information at runtime. These classes provide access to the program's metadata running in the System.Reflection namespace in C #.
Indexer in C # helps index objects, such as an array. When you define an indexer for a class, this class operates similarly to a virtual array. Then you can access the instance
Delegate in C # is similar to pointers to functions, in C or in C ++. Delegate is a reference type variable that contains references to a method. That reference can be changed at
Events (Events) are the actions of users, such as pressing keys, clicking, moving mouse ... Applications need to respond to these events when they appear. For example, interrupts.
Collection classes are special classes for storing and retrieving data. These classes provide support for Stack, Queue, List, and Hash Table. Most Collection classes in C #
Generic in C # allows you to delay the specification (Specification) of the data type of programming elements in a class or method, until it is actually used in the program. In
We have discussed that Delegate is used to reference any method that has the same sign as in Delegate. In other words, you can call a method that can be referenced by a Delegate
C # allows using pointer variables in a function of code block when it is marked by unsafe modifier. The concept of unsafe code or unmanaged code in C # is a code block that uses