34,333
edits
Changes
→Using the switch Statement
<pre>
using System;
using System.Text;
class Hello
{
static void Main()
{
string carModel;
string carManufacturer;
System.Console.Write ("Please Enter Your Vehicle Model: ");
carModel = System.Console.ReadLine();
switch (carModel)
{
case "
System.Console.Write("Manufacturer is " + carManufacturer);
}
}
</pre>