Void Function or Void Method
The method which doesn't return any value is known as void method. This is also known as void Function since method is the other name for function. In order to declare void method, we need to use void keyword before the method name. Main method what we used since first article is a void method. In order to understand this clearly let us study this with a code example.
CODE
EG 1 . Creating void method and trying to store inside variable, printing out in console and doing arithmetic Calculation.
static void Main() {
    //storing void method inside a variable
    double add = PrintRightAngleTraingleShape(3);
    //printing out void method in console
    Console.WriteLine(PrintRightAngleTraingleShape(3));
    //Arithmetic Calculation in void method.
    PrintRightAngleTraingleShape(3) * 2 / 180;
    //(Ultimate goal)Printing Right angle triangle shape
    PrintRightAngleTraingleShape(10);
}
static void PrintRightAngleTraingleShape(int row) {
    for (int i=1;i<=row;i++) {
        for (int j=1;j<=i;j++) {
        Console.Write("*");
    }
    Console.WriteLine();
    }
}
(Click Here, For more exercises)