DECLARATION ISSUE LIST 2022

Hi All,

I am trying to declare the list but unfortunately getting below error.

ERROR: complier error encounter processing exception “New List(OfString)”. Too few type arguments to System.Collections.Generic.List(of T).

Please anyone clear the error urgently.

image

kindly note the missing space new List(Of String)

Hi @Kalaisri_K

Check out the XAML file

CreateList.xaml (4.2 KB)

 System.Collections.Generic.List(System.String)

Regards
Gokul

1 Like

New List(Of String()) try as this

Thank you. Careless mistake i have done. not given the space between “Of String”.

Exactly spotted my mistake. I have not given the space in between “Of String”. Thankyou.

Exactly. I have done error. Error gone.

@Kalaisri_K no problem its learning. Mark solution and close this thread

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.