i have an array of integer like
int [] intArray;
intArray = new int[3] { 1, 2 , 40 , 45 , 50};
the array contains numbers from 1- to 50
i want to convert this array to one bit represent like
100001000010000............11
who can i do this in c# ?