Reading Time: < 1 minute Remove all your nested and complex if-else if – else logic with switch expressions. With concise statement, better readability, its one of the major change brought in core programming concepts since school days. in addition to improve better chances at interview with more readable and better understandable code, this also improves overall efficiency and productivity.
Record in C# 9 | Creation, Immutability, Equality, Inheritance
Reading Time: < 1 minute We shall see what are the record and how are they beneficial. record have been recently announced in c# 9.0 new features. Record provide a concise way of defining (immutable) object types especially when requirement is around data oriented scenarios.