How to write a C# Program to swap two numbers without using third variable. C# Program to swap two number using System; namespace CSharpProgram { class Program { static void Main(string args) { Console.WriteLine("Enter first number"); int n1 = int.Parse(Console.ReadLine()); int n2 = int.Parse(Console.ReadLine()); Console.WriteLine("Numbers Before swap n1 = " + n1 + " n2

How to Write a C# program to find the reverse number of a number and C# Code to reverse a number. Example: Input: 123455 Output: 554321 C# Program to reverse a number using System; namespace CSharpProgram { class Program { static void Main(string args) { int n, rev = 0, rem; Console.Write("Enter a number to

How to Write a C# program to find factorial of a number. What is Factorial Number? A factorial number is multiplication of all the smaller and equal numbers of N. where N is a positive number. Example: Find a factorial of 5. Output: 5! = 5*4*3*2*1 = 120 C# program to find the fatcorial number. using

Project in hibernate with source code and project report. The student management system is a web application that is using hibernate with MYSQL to manage the back-end of the application. Student Management system project in hibernate is using JSP, HTML for the front end and CSS and JS for the look and feel. Its using

How to write a c# program to check a number is Armstrong number or not. In the below example We will see what is an Armstrong number and how to find the Armstrong number in C#. What is Armstrong Number An Armstrong number is a sum of the cube of each number is equal to

How to find the sum of digit in C#. In the below example another way to find the some of digit in C#. Input sample: 123 Output: 6 Sum of digits program in C# using System; namespace CSharpProgram { class Program { static void Main(string args) { //Define variables int num, sum = 0,

How to write a C# program to find the Fibonacci Series. Fibonacci series in C#. Before dive into code let’s understand what is Fibonacci series and then will move to the logic to solve the Fibonacci problem in C#. What is the Fibonacci Series? Fibonacci series is a sum of two subsequent numbers. The first

How to Write a visual basic program to check leap year or whether a year is leap year or not a leap year. Module Module1 Sub Main() Console.WriteLine("Enter a year...") Dim x, y, z, year 'Read a year.......... year = Console.ReadLine() x = year Mod 4 y = year Mod 100 z = year Mod

How to Write a case study of an automation project. Software automation case study of a payroll management system project. Below is an example of the automation project on the payroll management system project. Project is using BDD Automation using spec flow and NUnit Case Study of an automation project Project Overview Payroll Management is

How to write a C# program to find prime numbers. What is a prime number? And how to find the prime number between two numbers in C#. At the very first let’s understand what is a prime number? Then will write the code to find prime number in C#. List of C# programs with examples.