using System.Collections.Generic;
public static char? FirstUniqueChar(string input)
public static class Tests
Test.Assert(input: "this is a test", expected: 'h');
Test.Assert(input: "This is a test", expected: 'T');
Test.Assert(input: "99//_", expected: '_');
Test.Assert(input: "abc abc abc", expected: null);
public static class Program
public static void Assert(string input, char? expected)
char? actual = YourCode.FirstUniqueChar(input);
Console.WriteLine($"FAIL: expected {expected?.ToString() ?? "NULL"} but returned {actual?.ToString() ?? "NULL"}");
Console.WriteLine("PASS");