Finished The Array: A Fixed Size Ordered Collection
This commit is contained in:
parent
cd6c6a0f28
commit
a7daf8b10c
8
projects/DaysOfWeek/DaysOfWeek.csproj
Normal file
8
projects/DaysOfWeek/DaysOfWeek.csproj
Normal file
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
25
projects/DaysOfWeek/Program.cs
Normal file
25
projects/DaysOfWeek/Program.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user