Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
HashSet implementation
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here var duplicates = new HashSet<int>(); duplicates.Add(1); duplicates.Add(1); duplicates.Add(2); duplicates.Add(3); duplicates.Add(4); duplicates.Add(5); duplicates.Add(5); duplicates.Add(5); var array = duplicates.ToArray(); Console.WriteLine(string.Join(",", array)); } } }
run
|
edit
|
history
|
help
0
Dotnetq5
u
transform string to hex code
DB Search
Project Euler No 2
code for part 4 gogoaim
Saga name NLog
Nuts
Reverse a string
C# constructor in inheritance