Effective Switching of Enums

Here I am going to share my experience as how I used enum without using switch statements. Now let’s see what is the problem in using switch statements in your code base. Before that we can recall what is an enum. An enumeration defines a common type for a group of related values and enables you toContinue reading “Effective Switching of Enums”