how to convert a string\ array to a list n c# code example Example: c sharp array to list var list = new List<int>(array);