C# SortedSet SortedSet()
Description
SortedSet
initializes
a new instance of the SortedSet
Syntax
public SortedSet()
Example
/* w w w . j a v a2s.c om*/
using System;
using System.Collections.Generic;
public class MainClass{
public static void Main(String[] argv){
SortedSet<int> evenNumbers = new SortedSet<int>();
for (int i = 0; i < 5; i++)
{
evenNumbers.Add(i * 2);
}
}
}