C#.Net Codes

Simple C# Code for finding roots of Quadratic Equation

using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Postslush { class Quadratic { double a, b, c; public void read() { Console.WriteLine(” n To find the roots of a

C#.Net Codes

C# program for Label Statement

This is the simple example of label statement program which can be easily understand by any one. In the program we need to create a “label :” in the starting

C#.Net Codes

C# program for Empty Statement

Here this is the one example of the Empty Statement program. In this program we will study what is Empty Statement and how to write a program. An Empty Statement

C#.Net Codes

C# program to check the alphabet is vowel or not

This is the program from which we can check whether the alphabet is vowel or not. In this program first the question will ask by the program to user “Enter

C#.Net Codes

Simple C# Program Code for Pascal Triangle

In maths Pascal triangle is a triangular array of binominal coefficients Lets see the program code below.. using System; using System.Collections.Generic; using System.Text; namespace PostSlush {     class PascalTriangle    

C#.Net Codes

Simple C# Program to display Floyd’s Triangle

Floyd’s Triangle is an right angled triangular array of natural numbers. It filled the rows of the triangle with consecutive numbers as it starts with 1 in the top left

C#.Net Codes

Simple C# Program to Convert temperature from Fahrenheit to Celsius

Using C# Console application here comes a simple program which can convert the temperature defined in Fahrenheit to Celsius. This Program will also runs in Windows form too as we

C#.Net Codes

C# program for XOR Operator

  This is the simple program an example of Xor Operator. In this program if the condition match and the both expression returns true, so the xor operator returns false

C#.Net Codes

C# program for Switch-Case

Now, This is the one of the best and ever like simple program of C# programming(Or may be any other programming language). In this program i am giving an example

C#.Net Codes

C# program to find Area of Rectangle

This is the simple program which calculate the Area of a Rectangle. In this program when the user will execute the program it will ask for  Height and Width. Then