C# Program to find the second largest element in an array

In this program, You will learn how to find the second largest element in an array in C#. Array List is: 10 20 30 40 50 60 70 80 90…

C# Program to find the largest and smallest element in an array

In this program, You will learn how to find the largest and smallest element in an array in C#. Array List is: 11 12 13 14 15 The largest element…

C# Program to reverse array elements

In this program, You will learn how to reverse array elements in C#. Array List is: 11 12 13 14 15 Reverse => 15 14 13 12 11 Example: How…

C# Program to find the sum of even and odd elements in an array

In this program, You will learn how to find the sum of even and odd elements in an array in C#. List is: 11 12 13 14 15 Even sum…

C# Program to find even and odd elements in an array

In this program, You will learn how to find even and odd elements in an array in C#. int[] arr = new int[5]; Example: How to find even and odd…

C# Program to find the sum of array elements

In this program, You will learn how to find the sum of array elements in C#. int[] arr = new int[5]; Example: How to find the sum of array elements…

C# Program to convert a number into characters

In this program, You will learn how to convert a number into characters in C#. 123 => One Two Three Example: How to convert a number into characters in C#.…

C# Program to find the largest digit of a number

In this program, You will learn how to find the largest digit of a number in C#. 12345 => 5 48493 => 9 Example: How to find the largest digit…

C# Program to find the sum of first and last digit of a number

In this program, You will learn how to find the sum of first and last digit of a number in C#. 1234 = 1 + 4 => 5 Example: How…

C# Program to find the sum of even and odd digits of a number

In this program, You will learn how to find the sum of even and odd digits of a number in C#. 12345 = 2 + 4 => 6 12345 =…