Support us .Net Basics C# SQL ASP.NET Aarvi MVC Slides C# Programs Subscribe Download

Part 10 - C# Tutorial - If statement


Part 10 - C# Tutorial - If statement


7 comments:

  1. gratitude, your explanations are simple and to the point

    ReplyDelete
  2. excellent energy level you have venkat right from introduction till conclusion .it found to be same..I really addicted to your blogs to understand anything better than looking for other sources..Good Job!!

    ReplyDelete
  3. Excellent knowledge,Excellent Teacher

    ReplyDelete
  4. Excellent you have done this video clip to public

    ReplyDelete
  5. Excellent job sir.......easy to understand....
    please also provide the WPF tutorials....

    ReplyDelete
  6. Hi Venkat Sir!!! You are an excellent powerhouse of knowledge in IT field.

    ReplyDelete
  7. using System;

    namespace ConsoleApp7
    {
    class Program
    {
    static void Main(string[] args)
    {
    Console.WriteLine("Enter Your Number");
    int Usernumber = int.Parse(Console.ReadLine());
    if (Usernumber==1)
    {
    Console.WriteLine("Dear User Your Number is 1");
    }
    else if (Usernumber == 2)
    {
    Console.WriteLine("Dear User Your Number is 2");
    }
    else if (Usernumber == 3)
    {
    Console.WriteLine("Dear User Your Number is 3");
    }
    else if (Usernumber == 4)
    {
    Console.WriteLine("Dear User Your Number is 4");
    }
    else if (Usernumber == 5)
    {
    Console.WriteLine("Dear User Your Number is 5");
    }
    else
    {
    Console.WriteLine("Dear User Your Number is Not Between 1-5");
    }
    Console.ReadKey();

    }
    }
    }

    ReplyDelete

It would be great if you can help share these free resources