string GenerateGetListCount (TypeData listType, string ob) { if (listType.Type.IsArray) return "ob.Length"; else return "ob.Count"; }