<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dot Net By Vickypedia</title>
    <description>The latest articles on DEV Community by Dot Net By Vickypedia (@vijaykumarvicky).</description>
    <link>https://dev.to/vijaykumarvicky</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F481642%2F559850c1-db01-46c0-94f9-b649b3feef5f.jpeg</url>
      <title>DEV Community: Dot Net By Vickypedia</title>
      <link>https://dev.to/vijaykumarvicky</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vijaykumarvicky"/>
    <language>en</language>
    <item>
      <title>Factorial of a number</title>
      <dc:creator>Dot Net By Vickypedia</dc:creator>
      <pubDate>Sat, 10 Oct 2020 22:04:20 +0000</pubDate>
      <link>https://dev.to/vijaykumarvicky/factorial-of-a-number-59kj</link>
      <guid>https://dev.to/vijaykumarvicky/factorial-of-a-number-59kj</guid>
      <description>&lt;p&gt;Step 1: Open Visual Studio and select console application.&lt;br&gt;
Step 2: Write a Program to find occurrence of character in string&lt;/p&gt;

&lt;p&gt;using System;&lt;br&gt;
using System.Collections.Generic;&lt;br&gt;
using System.Linq;&lt;br&gt;
using System.Text;&lt;br&gt;
using System.Threading.Tasks;&lt;/p&gt;

&lt;p&gt;namespace CharacterOccurrenceApp&lt;br&gt;
{&lt;br&gt;
    class Program&lt;br&gt;
    {&lt;br&gt;
        static void Main(string[] args)&lt;br&gt;
        {&lt;br&gt;
            string Statement = string.Empty;&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;        Console.WriteLine("Enter a string to check occurrence of a character numbers");

        Statement = Console.ReadLine();
        Statement = Statement.ToLower();

        if (Statement.Length &amp;gt; 0)
        {
            while (Statement.Length &amp;gt; 0)
            {
                int CountCharacter = 0;
                Console.Write("Number of Occurance of '" + Statement[0] + "': ");

                //Checking the Character occurrence in the string entered by the user
                for (int i = 0; i &amp;lt; Statement.Length; i++)
                {
                    if (Statement[0] == Statement[i])
                    {
                        CountCharacter++;
                    }
                }

                //Count of each character
                Console.Write(CountCharacter + "\n");

                //Removing that character from the string
                Statement = Statement.Replace(Statement[0].ToString(), string.Empty);
            }
        }
        Console.ReadLine();
    }
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;Step 3 : Run the application then console will be open.&lt;br&gt;
Step 4: Enter the string then press "Enter" key then see the output.&lt;/p&gt;

</description>
      <category>dotnet</category>
    </item>
  </channel>
</rss>
