remove first element from string array c# code example
Example 1: c# array remove first element
string[] arr = { "a", "b", "a" };
arr = arr.Skip(1).ToArray();
Example 2: remove first character in a string c#
// initial string is "/temp" it will be changed to "temp"
data.Remove(0,1);
data.TrimStart('/');
data.Substring(1);