This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
/* | |
from Lesson 01 in introductory C# console programming series: | |
http://williammillerservices.com/windows-c-console-programming/ | |
prints 'Hello world!' to the console | |
pastebin.com -> https://pastebin.com/A6YSk4Wj | |
GitHub gist -> https://gist.github.com/kyrathasoft/6f38f0e1207cd97eae4f181227cfafb1 | |
*/ | |
namespace HelloWorld{ | |
class Hello{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
/* | |
from Lesson 4 of C# console programming tutorial series at following URL: | |
http://williammillerservices.com/windows-c-console-programming/ | |
GitHub gist -> https://gist.github.com/kyrathasoft/ab43a77559ba7a95de2519019953a78f | |
Pastebin.com -> https://pastebin.com/c33gAU71 | |
*/ | |
namespace HowdyGuys{ | |
class WhatsUpDoc{ | |
static void Main(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
/* | |
from Lesson 4 of C# console programming tutorial series at following URL: | |
http://williammillerservices.com/windows-c-console-programming/ | |
demonstrates input data validation and parsing to int | |
GitHub gist -> https://gist.github.com/kyrathasoft/a6ead63e6832361086dc69a6487de81d | |
Pastebin.com -> https://pastebin.com/ySY7crrg | |
*/ | |
namespace MyNamespace | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
/* | |
from Lesson 4 of C# console programming tutorial series at following URL: | |
http://williammillerservices.com/windows-c-console-programming/ | |
demonstrates potential run-time error in that user may fail to input | |
a value that is parseable to an integer | |
GitHub gist -> https://gist.github.com/kyrathasoft/2bc097e9e9a465f7d4388e46ed8798cb | |
Pastebin.com -> https://pastebin.com/7uPxzcKG | |
*/ | |
namespace MyNamespace { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
/* | |
from Lesson 5 of C# console programming tutorial series at following URL: | |
http://williammillerservices.com/windows-c-console-programming/ | |
demonstrates invoking a method from within Main() | |
GitHub gist -> https://gist.github.com/kyrathasoft/e19b0b8f2ea5e40af8cda06d8cbda812 | |
Pastebin.com -> https://pastebin.com/Xv6MYL6W | |
*/ | |
namespace MyNamespace { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
/* | |
from Lesson 5 of C# console programming tutorial series at following URL: | |
http://williammillerservices.com/windows-c-console-programming/ | |
demonstrates invoking a method from within Main() and passing it a string argument | |
GitHub gist -> https://gist.github.com/kyrathasoft/d76dad203ea9c0a8e342fa24bc77dde0 | |
Pastebin.com -> https://pastebin.com/dLA4DUMb | |
*/ | |
namespace MyNamespace { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
/* | |
from Lesson 3 of C# console programming tutorial series at following URL: | |
http://williammillerservices.com/windows-c-console-programming/ | |
GitHub gist -> https://gist.github.com/kyrathasoft/028ccbb83366e117b0c5920856e95d3a | |
Pastebin.com -> https://pastebin.com/fRpW6wBk | |
*/ | |
namespace HowdyGuys | |
{ | |
class WhatsUpDoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using TestInput; | |
/* | |
from Lesson 5 of C# console programming tutorial series at following URL: | |
http://williammillerservices.com/windows-c-console-programming/ | |
demonstrates while loop and safe parsing of string to integer. To | |
compile, requires tester1.cs | |
GitHub gist -> https://gist.github.com/kyrathasoft/619b3addf6d7204d325a04ff77859a77 | |
Pastebin.com -> https://pastebin.com/3N76Jz03 | |
Dependencies: tester1.cs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
/* | |
from Lesson 5 of C# console programming tutorial series at following URL: | |
http://williammillerservices.com/windows-c-console-programming/ | |
demonstrates while looping until condition is met | |
GitHub gist -> https://gist.github.com/kyrathasoft/6714b36f73d506433d0f8b864ec9d55a | |
Pastebin.com -> https://pastebin.com/kTF8qhPi | |
*/ | |
namespace MyNamespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using TestInput; | |
/* | |
from Lesson 5 of C# console programming tutorial series at following URL: | |
http://williammillerservices.com/windows-c-console-programming/ | |
demonstrates data input validation and multiplication of integers | |
GitHub gist -> https://gist.github.com/kyrathasoft/ec0d45c9cfadc31736d6b0ce2efa3fce | |
Pastebin.com -> https://pastebin.com/vaU09diD | |
dependencies: | |
-> https://gist.github.com/kyrathasoft/35357f7fee1c427693323286111e5e43 |