Pangrams

  • + 0 comments

    My C# solution, if you think this could be improve even better, just let me know!

    public static string pangrams(stirng s)
    {
    	string isPangram = string.Join(string.Empty, s.ToUpper().Replace(" ", "").Distinct());
    	
    	return isPangram.Length == 26 ? "paragram" : "not paragram";
    }