This topic took my 2 days for understanding. I searched on whole internet for this but cant find the exact code for what i was searching. I needed a queue built from scratch so when i get it i decided to put it on my website so you guys don't waste time searching for it like me.
Solutions
Draw Pyramid in C# in Console
Write a C# Program Which Displays the Pyramid or Triangle. Source Code to Draw Pyramid / Triangle in C# Console Application. This program uses for loops to display pyramid on console.
Sum of Even and Odd numbers in C#
Even Numbers Series
Even numbers can be divided evenly into groups of two. The number four can be divided into two groups of two. Even numbers always end with a digit of 0, 2, 4, 6 or 8.
e.g. 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30 are even numbers.
C# Related Practical Questions examples for Interview
Note : All of this content is taken from many important articles related to C# & important topics. I decided to create one point where all C# questions can be available.
Also read Theoretical/Logical C# Interview Question.