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 static System.Console; | |
//uses UML from Jeff Meyers | |
//http://imamp.colum.edu/mediawiki/images/f/f3/CatConainmentAssociation.PNG | |
namespace CatApp | |
{ | |
class Mammal | |
{ | |
protected int Age; | |
protected bool HasHair; |
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 static System.Console; | |
namespace OOPDayTwoReview | |
{ | |
class Trivia | |
{ | |
int Score = 0; | |
//answers player enters | |
string[] Answers = new string[6]; |
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
/* | |
* 09/07/2017 | |
* Quick console application to review information covered in prerequisite course | |
* Ask a user/player for profile information (5 questions) | |
* Use information submitted to print out message | |
* Reminder of: | |
* classes (properties and methods) | |
* constructor | |
* colored text | |
* window title |
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; | |
/* | |
* Example created by the Introduction to Programming Fall 2016 class | |
* Showing classes, objects, constructors, and other fundamental C# concepts | |
*/ | |
namespace NothingBuntCakes | |
{ | |
class Program | |
{ |
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; | |
namespace Try_Catch | |
{ | |
class Program | |
{ | |
static void Main() | |
{ | |
Console.WriteLine("Enter number:"); | |
int number = Convert.ToInt16(Console.ReadLine()); |
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
/* | |
* LoafDog Mania Mach Two | |
* Name, 02/07/2017 | |
* | |
* An example application to show some programming fundamental concepts | |
* datatype, string, double, class, instance, object, method, function, boolean | |
* LoafDog idea created by Spring 2017 Introduction to Programming class | |
*/ | |
using System; |
NewerOlder