Posts

Showing posts with the label Program to find occurrence of character in string

Program to find occurrence of character in string

Image
Program to find occurrence of character in string Step 1: Open Visual Studio and select console application. Step 2: Write a Program to find occurrence of character in string using  System; using  System.Collections.Generic; using  System.Linq; using  System.Text; using  System.Threading.Tasks; namespace  CharacterOccurrenceApp {      class   Program     {          static   void   Main ( string []  args )         {              string   Statement  =  string .Empty;              Console . WriteLine ( "Enter a string to check occurrence of a character numbers" );            ...