Program to find top two maximum numbers in C# – C# Programming Example
C# Console Foreach Statement If Else Statement

Program to find top two maximum numbers in C#

The program finds find top two maximum numbers in the
given array. Finding process works without using any sorting functions and any kind of collections in C#.

C# Program to Find Max First Two Value in Array

 

Basic C# Console Examples

C# Program to Print “hello world”
C# Program to Add Two Numbers
C# Program to Swap 2 Numbers
C# Program to Finds the Average of 3 Numbers
C# Program to Convert Inches to Centimeters
C# Program to Convert Centimeters to Inches
C# Program to Calculate Rectangle Area
C# Program to Calculate Square Area and Perimeter
C# Program to Calculate Area and Perimeter of Circle
C# Program to Calculate Area and Perimeter of Pentagon
C# Program to Count Number of Words in a String
C# Program to Convert Feet to Inches
C# Program to Convert Inches to Feet
C# Program to Convert Dollars to Cents
C# Program to Convert Celsius to Fahrenheit

C# Conditional Examples

C# Program to Find the Biggest of Two Numbers
C# Program to Find the Biggest of Three Numbers
C# Program to Get Month Name From Month Number
C# Program to Find Quadratic Equation Solver (ax2 + bx + c = 0)
C# Program to Calculate the Sum of N Numbers
C# Program to Compare Two Dates
C# Program to Find Number is Even or Odd
C# Program to Find Leap Year
C# Program Library Fine Calculation
C# Program to Count Decimal Number of Digits After and Before Point
C# Program to Find the LONGEST word in an Entered String
C# Program to Compare Two Strings in C#
C# Program to Simple Grading System
C# Program to Rotate Matrix to 90 Degree

C# Loop Examples

C# Program to Display Numbers Between 1 to 100 Using For Loop
C# Program to Display Numbers Between 1 to N Using For Loop
C# Program to Find the Factorial of a Number
C# Program to Calculate the Sum Of First n Natural Numbers
C# Program to Decimal to Binary in C#
C# Program to Reverse an int Value Without Using Array
C# Program to Find Sum and Average of N Numbers Using While Loop
C# Program to Print Alphabets
C# Program to Display the Product of Two Numbers Between
C# Program to Print Star Pattern
C# Program to Reverse Words in a String
C# Program to Read the Text Files using the StreamReader
C# Program to Read Text File to List

C# Conditional and Loop Examples

C# Program to Find the Sum of All Integers 1 through N That are Divisible by 3
C# Program to Display Binary Triangle
C# Program to Print all Prime Numbers in an Interval
C# Program to Find Fibonacci Series
C# Program to Find Numbers Above and Below the Average
C# Program to Check Armstrong Number
C# Program to Make a Simple Calculator
C# Program to Print Multiplication Table
C# Program to Solve Coin Change Problem
C# Program to Find Greatest Common Divisor (GCD) of Two Numbers Using While Loop
C# Program to Find GCD of Two Numbers Using For Loop
C# Program to Find Greatest Common Divisor (GCD) of Two Numbers
C# Program to Find Numbers 1 to N not divisible by 3 and 7
C# Program to Display Numbers Between 1 and 100 which divisible by 3 or 5
C# Program to Find Armstrong Numbers Between Two Intervals
C# Program to Calculate Armstrong Number Using While Loop
C# Program to Calculate Permutation and Combination
C# Program to Count the Total Letter in a Text
C# Program to Check for Palindrome Strings or Numbers
C# Program to Find Palindrome Number Series
C# Program to Find Prime Numbers and Total Prime Numbers in Given Range

C# Console Array Examples

C# Program to Find Min Value in Array
C# Program to Find Max Value in Array without Max() Method
C# Program to Find Top Two Maximum Numbers in an Array
C# Program to Find The Second Largest Number in Array
C# Program to Read Characters and Find Frequency from Text File
C# Program to Find The Longest Word in String Array
C# Program to Calculate Sum and Average of an Array in C#
C# Program to Remove Last Item from Array

C# Console Method Examples

C# Program to Calculate Determinant of a Matrix
C# Program to Find Fibonacci Series with Recursive Method
C# Program to Find If a Number is Prime or Not Using Recursion
C# Program to Calculate the Power Using Recursion
C# Program to Find Greatest Common Divisor (G.C.D) Using Recursion
C# Program to Reverse a Sentence Using Recursion
C# Program to Calculate Factorial of a Number Using Recursion
C# Program to Add Three Integers Using Function
C# Program to Calculate the Average of 3 Numbers Using Function
C# Program to Calculate the Sum of digits of a Number
C# Program to Draw a Rectangle in Console Application using Static Method
 

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: