C# Interview Programs
Interview Practice Index
C# interview programs on CodeToFun walk through classic numeric puzzles using clear structure—problem setup, algorithm, full solution, edge cases, and FAQs. Each page uses the same responsive tutorial shell so you can study on phone or desktop.
This index lists every C# interview lesson currently published here; more titles will appear as the section grows.
Interview Programs in C#
Rounds often reuse the same foundations—know where each idea shows up:
- Language basics: types, operators,
if/switch, loops, methods, and entry points such as top-level statements orstatic void Main. - Console I/O: prompting users, trimming strings, and validating parse results.
- Collections: arrays,
List<T>, and span-friendly loops when judges allow newer APIs. - Classes and structs: encapsulating helpers when problems grow beyond one file.
- LINQ (optional): expressive queries once imperative versions are solid.
- Memory & correctness: understanding value vs reference types and guarding edge inputs.
- Problem-solving: stating assumptions, naming complexity, and testing boundary values.
Open any card below to jump straight into working code and explanations.
Number Basics & Properties
25 programsEven Number
Odd Number
Palindrome Number
Pascal's Triangle
Perfect Number
Perfect Square
Power of 2
Power of 3
Prime Factors
Prime Number
Pronic Number
Smith Number
Strong Number
Natural Number
Number Combination
Composite Number
Abundant Number
Armstrong Number
Automorphic Number
Disarium Number
Evil Number
Happy Number
Harshad Number
Magic Number
Amicable Number
Math and Reductions
7 programsArrays, Totals, and Divisors
29 programsAverage of N Numbers
Matrix Addition
Matrix Division
Matrix Multiplication
Matrix Subtraction
Matrix Transpose
Maximum Value of an Array
Minimum Value of an Array
Multiplication Table
Natural Number
Number Combination
Odd Number
Palindrome Number
Pascal's Triangle
Perfect Number
Perfect Square
Power of 2
Power of 3
Prime Factors
Prime Number
Pronic Number
Smith Number
Strong Number
Sum of Array
Sum of Digits
Swap Two Numbers
Triangular Number
Biggest of Three Numbers
Common Divisors
Base Conversion
3 programsDid you know?
Tip: Pair each solution with int.TryParse or parsing guards when you read from Console.ReadLine(). Run snippets with dotnet run from a small console project so you get the same feedback hiring pairs often expect.
12 people found this page helpful
