
C# Logical Questions with Answer - C# Corner
I am sharing few logical questions with their solution in C#.
C# Array Exercises - Programming, Pseudocode Example, C# Programming ...
Write a C# program to input elements in an array from user, find maximum and minimum element in array. C# program to find biggest and smallest elements in an array. Logic to find maximum …
C# Sharp Programming Exercises, Practice, Solution
Dec 20, 2024 · The best way we learn anything is by practice and exercise questions. We have started this section for those (beginner to intermediate) who are familiar with C# Sharp …
C# Sharp programming exercises: Array - w3resource
Dec 20, 2024 · Write a C# Sharp program to find two numbers in an array of integers whose product is equal to a given number. Sample Data: ({10, 18, 39, 75, 100}, 180) -> {10, 18}
C# Coding Questions For Technical Interviews
The user will input an integer array and the method should shift each element of input array to its Left by one position in circular fashion. The logic is to iterate loop from Length-1 to 0 and swap …
c# - If statement logic and arrays - Stack Overflow
Aug 13, 2013 · I have a method (in a class) which is passed 2 integers and then returns the value at that "coordinate" in a jagged array that is setup as a 2D grid. So, for example, GetXY(5,6) …
C# Practice Questions - Programmingempire
Oct 13, 2021 · Write a program that takes two arrays as input and produces a third array by merging them. Define a jagged array and write methods to input its elements and display. …
C# Questions & Answers – Introduction of Array Class
This set of C# Multiple Choice Questions & Answers (MCQs) focuses on “Introduction of array class”. 1. Select the class which is the base class for all arrays in C#? Explanation: None. 2. …
Top 10 C# programming questions on Array - Csharp Star
Jan 19, 2016 · Also you can refer Cracking the coding interview book, which contains 150+ programming questions and their solutions. Rotate array to a given pivot ; Determine if any two …
C# - Tricky Questions - Coding Champ
The difference in the i++ and ++i is in the returned result. View examples that demonstrate it. Also there are other tricky questions such as using loop with an empty body.