-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from deckelmouck/someChanges
add interface and adjust startup parameters
- Loading branch information
Showing
4 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
using System; | ||
using adventofcode; | ||
|
||
namespace aoc2022; | ||
public class solutionDay01 | ||
public class solutionDay01 : ISolver | ||
{ | ||
public void Solve() | ||
{ | ||
Console.WriteLine("solve test"); | ||
} | ||
|
||
public void SolvePart1() | ||
{ | ||
Console.WriteLine("try to solve first part"); | ||
} | ||
|
||
public void SolvePart2() | ||
{ | ||
Console.WriteLine("try to solve second part"); | ||
} | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace adventofcode; | ||
|
||
interface ISolver | ||
{ | ||
public void SolvePart1(); | ||
|
||
public void SolvePart2(); | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.5.002.0 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "adventofcode", "adventofcode.csproj", "{A10E754C-6C5C-47F2-BB15-A65DD7D8137E}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{A10E754C-6C5C-47F2-BB15-A65DD7D8137E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{A10E754C-6C5C-47F2-BB15-A65DD7D8137E}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{A10E754C-6C5C-47F2-BB15-A65DD7D8137E}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{A10E754C-6C5C-47F2-BB15-A65DD7D8137E}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {D9C9B872-4034-4045-9836-1668F74D81DB} | ||
EndGlobalSection | ||
EndGlobal |