public int IndexOfParam_Tex2D(string name) { for (int i = 0; i < Tex2DParams.Count; ++i) if (Tex2DParams[i].Key == name) return i; return -1; }