TIY-LR-NET-2015-June / Week-1-Day-1

0 stars 0 forks source link

Day 1 Assignment

How To Submit?

  1. Go to https://gist.github.com/ and copy the text below into the file.
  2. Name the file "day-1.cs"
  3. Add the code below each direction
  4. Press 'Create a public gist'
  5. Copy that URL to the Gist, and submit the link as an issue
    • The issue name should be "YourName - Day 1"
    • The issue description text should be a link
// Assign "Hello World" to a variable message

// Assign a different string to a different variable

// Assign a number to a variable

// Use string interpolation to display the number in a string
// i.e. string interpolation = "Hello {0}"

// Make an array of your favorite movies or books or bands. Have at least 4 values.

// Make a anonymous type object of information about yourself. Have at least 4 properties on the anoymous type

// BONUS 1

// Make an array of anonymous types containing more information
// about your favorite movies. The type should have at least 3 keys+values

// BONUS 2

// Use 'for loop' and loop through  the array of anonymoous types and print only one of the properties
// For example { firstname =  "Jimbob" } loop through and print only the firstname