Home » Tag Archives:oop

Tag Archives: oop

Why is this Loop Working Infinitely

February 22, 2018 c# Leave a comment

Questions: This is a simple while loop in C# but it is working infinitely. int count = 1; while (count < 10) { count = count++; } Why is this so? Answers: This will loop infinitely. There are two t...

Simple C# Noop Statement

February 22, 2018 c# Leave a comment

Questions: What is a simple Noop statement in C#, that doesn’t require implementing a method? (Inline/Lambda methods are OK, though.) My current use case: I want to occupy the catch-block of a t...