![vb net 2010 console application readkey vb net 2010 console application readkey](https://i.ytimg.com/vi/5df6advUTxM/maxresdefault.jpg)
We can reset it") Console.ReadKey() Console.ForegroundColor = ConsoleColor.Yellow Console.WriteLine("The order of lines of code is important") Console.WriteLine("We start at the top and work down") Console.ReadKey() End Sub End Moduleġ.1) Display the words red, amber, green on a fresh line each in order on the screen. It will be executed first.") Console.ReadKey() Console.ForegroundColor = ConsoleColor.Red Console.WriteLine("But then the colour changes to Red.") Console.ReadKey() Console.BackgroundColor = ConsoleColor.White Console.WriteLine("And the background goes white") Console.ReadKey() Console.ResetColor() Console.WriteLine("But it's okay. Module Module1 Sub Main() Console.WriteLine("This is the first line of the program. Each line of the song should be on a fresh line. Module module1 sub main() console.writeline("Hello World!") console.readKey() end sub end moduleĠ.1 Write a program that displays the message Hello DaveĠ.2 Write a program that displays the message My name is Dave and I live in Brussels (replace Dave and Brussels with your own information)Ġ.3 Write a program that displays the lyrics to your national anthem. Your first program Start a new Project and select Console Application. If you dont run Windows as your operating system you can try using Mono
Vb net 2010 console application readkey install#
40ĭownload and Setup Download VB Express and install it on your computer at home. 30Įxample Program 21 2 dimensional arrays. 27Įxample Program 18b Write to a text file. 26Įxample Program 18a Read from a text file. 24Įxample Program 17 1 dimensional arrays. 16Įxample Program 13 Procedures & Functions. 11Įxample Program 8 - Built-in functions. 10Įxample Program 7 - Logical bitwise operators. 7Įxample Program 5 - Relational operators. Tasks and sample programs to teach the AQA GCE Computing COMP1 syllabus.Ĭontents Download and Setup. VB.Net Console Student Booklet by Doug Semple