public static string[] GetParameters(string strQueryCommand) { string[] array = new string[0]; string str1 = SqlDatabaseHelper.GetWhereClause(strQueryCommand); if (string.IsNullOrEmpty(str1)) { return((string[])null); } do { string str2 = str1.Substring(str1.IndexOf("@")); string str3 = str2.Substring(1, str2.IndexOf(")") - 1); Array.Resize <string>(ref array, array.Length + 1); array[array.Length - 1] = str3; str1 = str2.Substring(str3.Length + 1); if (str1.StartsWith(")")) { str1 = str1.Substring(1); } }while (str1.Contains("@")); return(array); }