Skip to main content
Code sample in Swift, C# and Java
Main menu
About
History
Swift
C#
Java
Python
You are here
Home
»
Forums
»
C#
»
C#: Initializing of types
»
C#: Initializing collections
Initialization of sets in C#
Submitted by
obraztsov
on Mon, 11/16/2015 - 10:36
Forums:
C#: Initializing collections
var
intHashSet =
new
HashSet
<
int
> { 2, 3, 5, 7, 11, 13, 17, 19 };
Log in
to post comments