Guid is a structure type. How can I add it to an ArrayList?
Question about Guid
Collapse
This topic is closed.
X
X
-
RoyTags: None -
Mattias Sjögren
Re: Question about Guid
[color=blue]
>Guid is a structure type. How can I add it to an ArrayList?[/color]
The same way as any other variable.
yourArrayList.A dd(yourGuid);
Since Guid is a value type the value will be boxed.
Mattias
--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Comment