iQryCnt == Information.UBound(sqlquery) + 1;
hope this will help you
GetUpperBound(sqlquery) + 1;
Hope it will help.
iQryCnt = sqlquery.GetUpperBound(0) + 1;
Also the code snippet convertor from vb6 to C# is attached here for your information.
So please use this to convert from vb6 to C#.
And hoping to see next time questions related to the existing C# code with doubts.
Try the below code
iQryCnt == UBound(sqlquery) + 1