case

Switch Statements in C#

Submitted by Yorkiebar on

Introduction:

This tutorial is on how to use Switch statements in C#.

Switch:

A switch statement allows a single variable or static piece of data to be checked for mulitple conditions, essentially like a long 'else if' statement but a lot more compact and with slightly more flexability.

Case:

To use a switch statement there are a few other keywords we need to learn first, one of which is 'case'. Case is a possible value of the variable or value being 'switched', this must be of the same data type as the value being switched and must be followed by a colon. Break

Change Case: Uppercase and Lowercase in VB6

Submitted by donbermoy on
Uppercase and Lowercase characters are capital and lowercase letters (big and small. upper:ABCDEFGHIJKLMNOPQRSTUVWXYZ lower: abcdefghijklmnopqrstuvwxyz. In this article, we will going to create a program that can change casing of the letters either uppercase or lowercase when the text is highlighted. Now, let's start this tutorial! 1. Let's start this tutorial by following the following steps in Microsoft Visual Basic 6.0: Open Microsoft Visual Basic 6.0, click Choose Standard EXE, and click Open. 2.