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 System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace PlayerCreator | |
{ | |
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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace PlayerCreator | |
{ | |
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
<!doctype html> | |
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="stylesheets/style.css" /> | |
<!--[if lt IE 9]> | |
<script src="dist/html5shiv.js"></script> | |
<![endif]--> |
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
<!--[if lt IE 9]> | |
<script src="dist/html5shiv.js"></script> | |
<![endif]--> |
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 System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace Exceptions | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
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
Employee[] employees = new Employee[100]; | |
employees [0] = new Employee("Reid", "McGee", 651864324, 22, 'M'); | |
employees [1] = new Employee("Mike", "Besney", 651864324, 55, 'M', 30); | |
employees [1].FirstName = "Florence"; | |
employees[1].Gender = 'F'; | |
for (Int32 n = 0; n < 2; n++) | |
Console.WriteLine(employees[n].LastName + employees[n].FirstName + " " + employees[n].Sin + " " + | |
employees[n].Age + " " + employees[n].Gender + " " + employees[n].YearsService + " " + | |
employees[n].IsEligibleToRetire()); |
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
class Employee | |
{ | |
//Private Member Data | |
private String _firstName; | |
private String _lastName; | |
private Int32 _sin; | |
private Int32 _age; | |
private Char _gender; | |
private Int32 _yearsService; |
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
.clearfix:after | |
{ | |
content: "."; | |
visibility: hidden; | |
display: block; | |
height: 0; | |
clear: both; | |
} |
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
static void Main(string[] args) | |
{ | |
//The MAXPLAYERS constant is the physical table size | |
const Int32 MAXPLAYERS = 23; | |
//Declare the player tables | |
Int32[] playerNumbers = new Int32[MAXPLAYERS]; | |
String[] playerLastNames = new String[MAXPLAYERS]; | |
Int32[] playerPoints = new Int32[MAXPLAYERS]; |
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
static void Main(string[] args) | |
{ | |
Char menuItem; | |
Console.WriteLine("Welcome to ze calculator"); | |
menuItem = GetMenuItem(); | |
while (menuItem != 'X') | |
{ | |
ProcessMenuItem(menuItem); | |
menuItem = GetMenuItem(); | |
}// while |
NewerOlder