Jump to content

How do I create a .NET List?


Recommended Posts

[cross-posted to ni forums]

Does anyone know why I can't seem to find the System.Collections.Generic.List object in LabVIEW's "Select .NET Constructor" dialog?

I'm trying to create a .NET "List" in LabVIEW (Namespace: System.Collections.Generic, Assembly: mscorlib), similar to how it's done in the text-based code, below.

List<string> myList = new List<string>();

The problem is that I can't seem to find the Generic List object contstructor anywhere.

System.Collections.Generic object under the System assembly (I was only able to find System.Collections.Specialized). I looked inside the mscorlib assembly and found the System.Collections.Generic object, but the only constructor is for something else.

1.png

Thanks for your help.

-Jim

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.