Sharing! What gained.

Feb 1, 2016

Switch Case or Select Case


Switch Case Or Select Case 

Switch case or select case are the same thing they some how work like conditional statements but in this several bodies of code are written and each body is given its own name or here we use word case for name while coding
this technique help coders to solve very complex codes and condition with ease
I have used it in almost every language I have worked on whether it was C++ or C# or JavaScript  using this we can code applications like calculates etc.
For better understanding and making you familiar with this concept I have coded the program of calculator in VB that can perform simple operations like plus,minus,multiplication and division.
Following is the code of calculator using switches in VB



Share this Post!

0 comments:

Post a Comment