C# example program to get the time difference between two date objects in seconds and milliseconds. This program will show you how to find the time difference in seconds and milliseconds in C# easily.
ReadC# program to find the sum of all numbers from 1 to n. It will take the value of n and print out the sum.
ReadC# program to print the Floyd's triangle. This program will take the row number as input and print the Floyd's triangle.
ReadC# program to find the count of vowels in a string.
ReadC# program to list all files in a folder. This post will show you how to list all files, list all files with specific extension, list all files in a subfolder etc. with examples.
ReadC# program to check if a string starts with a number or not. This C# program will get the first character of the string, checks it if it is a number and print out one message.
ReadC# program to find the average of odd and even numbers in an array. This program will show different ways to find the average.
ReadC# string Copy method is used to copy a string to a different string object. It creates a new instance of the string with the same content.
ReadC# string Join method is used to join the elements of a string array using a separator. This post will show you how to use Join method with examples.
ReadC# program to get the substring of a string. C# provides two methods to get the substring from a string using the index.
Read