int[] ddfv = DropDownList1.SelectedItem.Value.ToString().Split('_').Select(part => int.Parse(part, System.Globalization.NumberStyles.Integer)).ToArray();
error : there is no .Select in String [] 🙁
there is a value like “1_2” I need to save 1 and 2 as integer values 🙂
Select is an extension method, defined in the
System.Linqnamespace.The reason for the error is probably one of these:
System.Coreusing System.Linq;)