C# solution with explanation | Beats 100% of C# solutions
Approach\nI just created a hashset of chars in the given string. Then checked every letter in English alphabet if it exists in the hashset using the letter\'s A
# Approach\nI just created a hashset of chars in the given string. Then checked every letter in English alphabet if it exists in the hashset using the letter\'s ASCII code.\n\n# Runtime\nBeats 100% of solutions with C#\n\n![image.png](https://assets.leetcode.com/users/images/daec8957-9e13-4870-9d05-a8889478deab_1691245447.3697243.png)\n# Code\n```\npublic class Solution {\n    public bool CheckIfPangram(string sentence) {\n        var hashSet = new HashSet<char>(sentence);\n        for (int i = 97; i <= 122; i++)\n        {\n            if(!hashSet.Contains((char)i))\n                return false;\n        }\n\n        return true;\n    }\n}\n```
['C#']