Here i have written some algorithm in c# such as binary search, bubble sort, factorial, insertion sort, merge sort, quick sort, selection sort