diff --git a/Emne 3/Krokodillespillet/Krokodillespillet/Program.cs b/Emne 3/Krokodillespillet/Krokodillespillet/Program.cs index e0dc598..b0b65a2 100644 --- a/Emne 3/Krokodillespillet/Krokodillespillet/Program.cs +++ b/Emne 3/Krokodillespillet/Krokodillespillet/Program.cs @@ -20,13 +20,13 @@ namespace KrokodilleSpillet var rand1 = new Random(); var rand2 = new Random(); int randomNumber = rand1.Next(0,11); - int randomNumer2 = rand2.Next(0,11); + int randomNumber2 = rand2.Next(0,11); Console.WriteLine("Skriv inn riktig > < eller =. Alle andre tegn avslutter programmet"); Console.WriteLine($"Du har {poeng} poeng"); - Console.WriteLine($"Hva er riktig tegn i utrykket {randomNumber} _ {randomNumer2}"); + Console.WriteLine($"Hva er riktig tegn i utrykket {randomNumber} _ {randomNumber2}"); string answer = Console.ReadLine(); - GetRightAnswer(randomNumber, randomNumer2); + GetRightAnswer(randomNumber, randomNumber2); CheckAnswer(answer); } } diff --git a/Emne 3/Terminal-ui/Terminal-ui/#Program.cs# b/Emne 3/Terminal-ui/Terminal-ui/#Program.cs# new file mode 100644 index 0000000..eae2538 --- /dev/null +++ b/Emne 3/Terminal-ui/Terminal-ui/#Program.cs# @@ -0,0 +1,12 @@ +using System; +using Terminal.Gui; + + +Application.Run ().Dispose (); + +Application.shutdown (); + +namespace Hello{ + class +} + diff --git a/Emne 3/Terminal-ui/Terminal-ui/Program.cs b/Emne 3/Terminal-ui/Terminal-ui/Program.cs index 36aac02..2551f14 100644 --- a/Emne 3/Terminal-ui/Terminal-ui/Program.cs +++ b/Emne 3/Terminal-ui/Terminal-ui/Program.cs @@ -6,3 +6,7 @@ Application.Run ().Dispose (); Application.shutdown (); +namespace Hello{ + +} + diff --git a/Emne 3/shell.nix b/Emne 3/shell.nix index 947634f..9431d06 100644 --- a/Emne 3/shell.nix +++ b/Emne 3/shell.nix @@ -10,5 +10,6 @@ mkShell { sdk_8_0 sdk_9_0 ]) + csharp-ls ]; -} \ No newline at end of file +}