Skip to content

Commit a745e85

Browse files
committed
Answered question #73
1 parent 66898e9 commit a745e85

File tree

4 files changed

+68
-0
lines changed

4 files changed

+68
-0
lines changed

sessions/Season-03/0303-ComponentInteractions/question/FritzHat.cs

Whitespace-only changes.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
using System;
2+
3+
namespace question {
4+
5+
public classs FritzHat {
6+
7+
#region Fields
8+
9+
private Guid _id;
10+
11+
#endregion
12+
13+
#region Constructors
14+
15+
public FritzHat() {
16+
Id = Guid.NewGuid();
17+
}
18+
19+
#endregion
20+
21+
#region Events
22+
23+
#endregion
24+
25+
#region Properties
26+
27+
public Guid Id {
28+
get { return _id; }
29+
private set { _id = value; }
30+
}
31+
32+
public string Name { get; set; }
33+
34+
public string AcquiredDate { get; set; }
35+
36+
public string Theme { get; set; }
37+
38+
#endregion
39+
40+
#region Methods
41+
42+
public void Clean() { }
43+
44+
#endregion
45+
46+
}
47+
48+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using System;
2+
3+
namespace question
4+
{
5+
class Program
6+
{
7+
static void Main(string[] args)
8+
{
9+
Console.WriteLine("Hello World!");
10+
}
11+
}
12+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net5.0</TargetFramework>
6+
</PropertyGroup>
7+
8+
</Project>

0 commit comments

Comments
 (0)