C#. In our C# program we have a string. We Split it apart and remove duplicates with a Dictionary. We loop over our values and parse each one with int.TryParse.

C# ASP.NET F# Go iOS Java Python Ruby Scala Swift VB.NET Windows WPF

Written by Sam Allen, sam­@dotnetperls.com (Dot Net Perls). © 2007-2016 Sam Allen. All rights reserved.