Control structures and loops are used in C# programming to control the flow of the program and...
Category - Conditional Statement
C# If Else Statement with Examples (10+ Examples)
The if statement in C# is used to execute a block of code if a certain condition is true. The...
C# Program To Display Smallest Among Three Numbers
In this tutorial, we will discuss the C# Program to display the smallest among the three numbers...
Program To Find Largest Number Among Three Numbers In C#
In this program, we will discuss a simple concept of program to find the largest number among three...
Using Range in switch case in C#
In this example, i’ll show you how to use switch case for a range of number in C#. Example:...
Check Even or Odd Number Using switch case in C#
In this example, i’ll show you How to check even or odd number using switch case in C#...
Create Simple Calculator using Switch Case in C#
In this example, i’ll show you How to create simple calculator using switch-case in C#...
Print Day of Week Name Using switch case in C#
In this example, i’ll show you How to Print day of week name using switch-case in C# Console...
Print Number of Days in a Month Using switch case in C#
In this example,i’ll show you How to print number of days in a month using switch case in C#...
C# Program to find the second smallest element in an array
In this program, You will learn how to find the second smallest element in an array in C#. C# Code:...