Finished The Array: A Fixed Size Ordered Collection

2_introducing_collections_and_arrays
jason.zhu 2021-04-19 21:53:17 +10:00
parent cd6c6a0f28
commit a7daf8b10c
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,25 @@
using System;
namespace Pluralsight.BegCShCollections.DaysOfWeek
{
class Program
{
static void Main(string[] args)
{
string[] daysOfWeek = {
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
};
foreach (var day in daysOfWeek)
{
Console.WriteLine(day);
}
}
}
}