• How to save data to CSV file in C# application

    How to save data to CSV file in C# application
    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
  • How to use math functions in C#

    How to use math functions in C#
    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
  • Calculate inheritance in C #

    Calculate inheritance in C #
    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 #

    Polymorphism in C #
    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
  • Operator overloading in C #

    Operator overloading in C #
    Overloading Operator is Operator Overload. You can redefine or overload most existing operators in C #.
  • Interface in C #

    Interface 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
  • Namespace in C #

    Namespace in C #
    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 in C #

    Preprocessor directive in C #
    Preprocessor Directive directives provide instructions to the compiler to preprocess the information before the actual compilation process begins. All preprocessor directives in C
  • Regular Expression in C #

    Regular Expression 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
  • Handling exceptions (Try / Catch / Finally) in C #

    Handling exceptions (Try / Catch / Finally) in C #
    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
  • I / O file in C #

    I / O file in C #
    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.
  • Attribute in C #

    Attribute in C #
    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 in C #

    Reflection in C #
    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 #

    Indexer 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 #

    Delegate in C #
    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
  • Event (Event) in C #

    Event (Event) in C #
    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 in C #

    Collection in C #
    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 #

    Generic 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
  • Anonymous method in C #

    Anonymous method in C #
    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
  • Safe code in C #

    Safe code in C #
    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
  • Multithread (Multithread) in C #

    Multithread (Multithread) in C #
    [Thread in c #] A thread is defined as an execution path (execution path) of a program. Each Thread defines a single control line. If your application includes complex and
  • Property (Property) in C #

    Property (Property) in C #
    Properties - Property is the member named for the Layer, Structure, and Interface. Member variables or methods in a class or structure are called Fields. Attribute is an
  • What is C #

    What is C #
    C # is a simple, modern, general-purpose, object-oriented programming language developed by Microsoft and approved by the European Computer Manufacturers Association (ECMA) and
  • Installing C # environment

    Installing C # environment
    In this chapter, we will introduce the tools needed to install the C # environment. We mentioned that C # is part of the .Net Framework and is used to write .Net applications.
  • C # program structure

    C # program structure
    Before learning how to build C # programming language blocks, we should explore the basic C # program structure.
  • Basic C # syntax

    Basic C # syntax
    C # is an object-oriented programming language. In an object-oriented programming method, a program of diverse objects that interacts with the ways of action. Actions that an
  • Data type in C #

    Data type in C #
    Value type variables can be assigned a value directly. They are inherited from the System.ValueType class.
  • Convert data types in C #

    Convert data types in C #
    Converting data types in C # is to convert one data type to another. It is also known as Type Injection.
  • Array (Array) in C #

    Array (Array) in C #
    An array stores a set of fixed-size elements in the same type. An array is used to store a data set, but it is often more useful to think of an array as a set of variables of the
  • String (String) in C #

    String (String) in C #
    In C #, you can use strings (strings) as array of characters. However, it is more common to use string keywords to declare a string variable. The string keyword is an alias for