C# program to print sum of series 1+2+3+….+n


Sample Output: