Projektdateien hinzufügen.

This commit is contained in:
Maxime Vorwerk
2023-07-19 18:25:21 +02:00
parent ef547f0924
commit c5bf09836f
6 changed files with 280 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
namespace CubeShapeCounting {
internal class Program {
private int _numBlocks = 0;
//private Dictionary<>();
public Program(int numBlocks) {
this._numBlocks = numBlocks;
}
public void Start() {
}
static void Main(string[] args) {
if (args.Length != 1) {
Console.WriteLine("Expected 1 argument");
return;
}
int numBlocks;
try {
numBlocks = Int32.Parse(args[0]);
}
catch {
Console.WriteLine("Cannot parse" + args[0] + "as an Int32.");
return;
}
Program P = new Program(numBlocks);
P.Start();
}
}
}