Hello everyone, Here I am going to write a Program to find all substrings from a String. This example code iterate through all possible lengths of a substring. C# Program to find all substrings from a String Here is the source code to find all substrings from a String. using System; using System.Collections.Generic; using System.Linq; using System.Text;…
C# Program to Convert Number to Word
Hi friends, I am going to write a C# program to Convert Number to Word. C# Program to Convert Number to Word: In most of the application, it is required to convert the number or amount of words. Following code will help you to convert a given number into words. For example, if “1235″ is…
C# Program to calculate the average for the set of values
Hi friends, I am going to write a simple program to calculate the average for the set of values. It is easy to calculate the average of numbers, to find the average of numbers just add up all the numbers, then divide by how many numbers there are. In other words, it is the sum divided by…
C# Program to Sort a String Array in Ascending Order
Here I am going to write a program to sort a String Array in Ascending Order. C# Program to Sort a String Array in Ascending Order. Create a Console application in C# and write the following code in Program.cs file. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ArraySorting { class Program…
Array in C#
Hello Friends, In this tutorial, I am going to explain Array in C#. We can say Array as a collection of similar type of datatype. Also, we will create examples on Array. After completing this tutorial you will be able to understand: Array in C#. How to declare Array in C#. How to Initialize Array…