c#

c#

C# program to convert a string to a character array

C# program to convert a string to a character array. We will learn how to do that by using String.ToCharArray method and by iterating through the characters.

Read
c#

4 ways in C# to convert a hexadecimal value to Decimal

C# program to convert a hexadecimal value to decimal value. The program will take the hexadecimal value as an input from the user and print the decimal value in four ways.

Read
c#

4 ways in C# to print the Geometric Progression or GP

C# program to print the Geometric Series in 4 different ways. We will learn how to print the G.P. series by using a for loop in two ways, by using a while loop and recursively.

Read
c#

3 ways in C# to print the Arithmetic Progression or AP

C# program to print the Arithmetic Series in 3 different ways. We will learn how to print the A.P. series by using a for loop, by using a while loop and recursively.

Read
c#

3 ways in C# to find the nth number of the Fibonacci series

C# program to find the nth value of the Fibonacci series. We will lean how to do this by using a for loop in iterative way, by using a while loop and recursively.

Read
c#

4 ways in C# to find the sum of first n numbers of the Fibonacci series

C# program to find the sum of first n numbers of the Fibonacci series. We will learn how to do that by using a for loop, by using a separate method, by using a while loop and with a recursive method.

Read
c#

4 ways to print the Fibonacci series in C#

C# program to print the Fibonacci series in 4 different ways. We will print it by using a for loop, by using a separate method, by using a while loop and with a recursive method.

Read
c#

3 ways in C# to find the sum and average of user input numbers

C# program to find the sum and average of user input numbers in 3 different ways. Take the numbers as user input and find the sum, average by using a separate method or separate class.

Read
c#

3 different C# programs to print the name and age of a user

C# program to print the name and age of a user. It will take the name and age values as inputs from the user and print it on the console. We will use a separate method and a class to save these values.

Read
c#

C# program to print the result of the division of two numbers

C# program to find the result of the division of two numbers. This program will show you how to find the division with user-input values and how to find the quotient and remainders of a division.

Read