Here i will explain how to count number of occurrences of a character in String in asp.net using c# with example or get number of character in a string or find number of characters occurrences in string. We have different ways to get number of occurrences of a character in string like loop though the string and get number character occurrences or using linq queries to get.