diff --git a/Emne 3/BankAppMarie/BankAppMarie/BankAppMarie.sln b/Emne 3/BankAppMarie/BankAppMarie/BankAppMarie.sln
new file mode 100644
index 0000000..39e96de
--- /dev/null
+++ b/Emne 3/BankAppMarie/BankAppMarie/BankAppMarie.sln
@@ -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}") = "BankAppMarie", "BankAppMarie.csproj", "{383D335D-3A2B-4BBB-B5EB-FD782B3A82F7}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {383D335D-3A2B-4BBB-B5EB-FD782B3A82F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {383D335D-3A2B-4BBB-B5EB-FD782B3A82F7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {383D335D-3A2B-4BBB-B5EB-FD782B3A82F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {383D335D-3A2B-4BBB-B5EB-FD782B3A82F7}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {690A91AA-DB43-417F-9B86-4B1CAF1DBAE7}
+ EndGlobalSection
+EndGlobal
diff --git a/Emne 3/Debug1/Debug1.sln b/Emne 3/Debug1/Debug1.sln
new file mode 100644
index 0000000..30f44c9
--- /dev/null
+++ b/Emne 3/Debug1/Debug1.sln
@@ -0,0 +1,16 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Debug1", "Debug1\Debug1.csproj", "{9A30B79C-FF6E-40AC-AE3C-BB49F525540F}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {9A30B79C-FF6E-40AC-AE3C-BB49F525540F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9A30B79C-FF6E-40AC-AE3C-BB49F525540F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9A30B79C-FF6E-40AC-AE3C-BB49F525540F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9A30B79C-FF6E-40AC-AE3C-BB49F525540F}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+EndGlobal
diff --git a/Emne 3/Debug1/Debug1/Debug1.csproj b/Emne 3/Debug1/Debug1/Debug1.csproj
new file mode 100644
index 0000000..2f4fc77
--- /dev/null
+++ b/Emne 3/Debug1/Debug1/Debug1.csproj
@@ -0,0 +1,10 @@
+
+
+
+ Exe
+ net8.0
+ enable
+ enable
+
+
+
diff --git a/Emne 3/Debug1/Debug1/Program.cs b/Emne 3/Debug1/Debug1/Program.cs
new file mode 100644
index 0000000..1d0651c
--- /dev/null
+++ b/Emne 3/Debug1/Debug1/Program.cs
@@ -0,0 +1,21 @@
+var range = 250;
+
+var counts = new int[range];
+string text = "something";
+while (!string.IsNullOrWhiteSpace(text))
+{
+ text = Console.ReadLine();
+ foreach (var character in text ?? string.Empty )
+ {
+ counts[(int)character]++;
+ }
+
+ for (var i = 0; i < range; i++)
+ {
+ if (counts[i] > 0)
+ {
+ var character = (char)i;
+ Console.WriteLine(character + " - " + counts[i]);
+ }
+ }
+}
\ No newline at end of file
diff --git a/Emne 3/Nissens_liste_og_hans_hjelpere/Nissens_liste_og_hans_hjelpere.sln b/Emne 3/Nissens_liste_og_hans_hjelpere/Nissens_liste_og_hans_hjelpere.sln
new file mode 100644
index 0000000..e690837
--- /dev/null
+++ b/Emne 3/Nissens_liste_og_hans_hjelpere/Nissens_liste_og_hans_hjelpere.sln
@@ -0,0 +1,16 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nissens_liste_og_hans_hjelpere", "Nissens_liste_og_hans_hjelpere\Nissens_liste_og_hans_hjelpere.csproj", "{1D5ED140-C581-4EB2-B688-DBE24D9A9A6D}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {1D5ED140-C581-4EB2-B688-DBE24D9A9A6D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1D5ED140-C581-4EB2-B688-DBE24D9A9A6D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1D5ED140-C581-4EB2-B688-DBE24D9A9A6D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1D5ED140-C581-4EB2-B688-DBE24D9A9A6D}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+EndGlobal
diff --git a/Emne 3/Nissens_liste_og_hans_hjelpere/Nissens_liste_og_hans_hjelpere/Nissens_liste_og_hans_hjelpere.csproj b/Emne 3/Nissens_liste_og_hans_hjelpere/Nissens_liste_og_hans_hjelpere/Nissens_liste_og_hans_hjelpere.csproj
new file mode 100644
index 0000000..2f4fc77
--- /dev/null
+++ b/Emne 3/Nissens_liste_og_hans_hjelpere/Nissens_liste_og_hans_hjelpere/Nissens_liste_og_hans_hjelpere.csproj
@@ -0,0 +1,10 @@
+
+
+
+ Exe
+ net8.0
+ enable
+ enable
+
+
+
diff --git a/Emne 3/Nissens_liste_og_hans_hjelpere/Nissens_liste_og_hans_hjelpere/Program.cs b/Emne 3/Nissens_liste_og_hans_hjelpere/Nissens_liste_og_hans_hjelpere/Program.cs
new file mode 100644
index 0000000..e5dff12
--- /dev/null
+++ b/Emne 3/Nissens_liste_og_hans_hjelpere/Nissens_liste_og_hans_hjelpere/Program.cs
@@ -0,0 +1,3 @@
+// See https://aka.ms/new-console-template for more information
+
+Console.WriteLine("Hello, World!");
\ No newline at end of file
diff --git a/Emne 3/StudentAdmin/.vscode/launch.json b/Emne 3/StudentAdmin/.vscode/launch.json
new file mode 100644
index 0000000..76a4903
--- /dev/null
+++ b/Emne 3/StudentAdmin/.vscode/launch.json
@@ -0,0 +1,26 @@
+{
+ "version": "0.2.0",
+ "configurations": [
+ {
+ // Use IntelliSense to find out which attributes exist for C# debugging
+ // Use hover for the description of the existing attributes
+ // For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md
+ "name": ".NET Core Launch (console)",
+ "type": "coreclr",
+ "request": "launch",
+ "preLaunchTask": "build",
+ // If you have changed target frameworks, make sure to update the program path.
+ "program": "${workspaceFolder}/StudentAdmin/bin/Debug/net8.0/StudentAdmin.dll",
+ "args": [],
+ "cwd": "${workspaceFolder}/StudentAdmin",
+ // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
+ "console": "internalConsole",
+ "stopAtEntry": false
+ },
+ {
+ "name": ".NET Core Attach",
+ "type": "coreclr",
+ "request": "attach"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/Emne 3/StudentAdmin/.vscode/tasks.json b/Emne 3/StudentAdmin/.vscode/tasks.json
new file mode 100644
index 0000000..9232c4f
--- /dev/null
+++ b/Emne 3/StudentAdmin/.vscode/tasks.json
@@ -0,0 +1,41 @@
+{
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "build",
+ "command": "dotnet",
+ "type": "process",
+ "args": [
+ "build",
+ "${workspaceFolder}/StudentAdmin.sln",
+ "/property:GenerateFullPaths=true",
+ "/consoleloggerparameters:NoSummary;ForceNoAlign"
+ ],
+ "problemMatcher": "$msCompile"
+ },
+ {
+ "label": "publish",
+ "command": "dotnet",
+ "type": "process",
+ "args": [
+ "publish",
+ "${workspaceFolder}/StudentAdmin.sln",
+ "/property:GenerateFullPaths=true",
+ "/consoleloggerparameters:NoSummary;ForceNoAlign"
+ ],
+ "problemMatcher": "$msCompile"
+ },
+ {
+ "label": "watch",
+ "command": "dotnet",
+ "type": "process",
+ "args": [
+ "watch",
+ "run",
+ "--project",
+ "${workspaceFolder}/StudentAdmin.sln"
+ ],
+ "problemMatcher": "$msCompile"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/Emne 3/StudentAdmin/StudentAdmin/Karakter.cs b/Emne 3/StudentAdmin/StudentAdmin/Karakter.cs
index 9590a0b..aeddd22 100644
--- a/Emne 3/StudentAdmin/StudentAdmin/Karakter.cs
+++ b/Emne 3/StudentAdmin/StudentAdmin/Karakter.cs
@@ -16,9 +16,9 @@ internal class Karakter
public void SkrivUtInfo(Karakter karakter)
{
Console.WriteLine(
- $"Student: {karakter.Student}\n" +
- $"Fag: {karakter.Fag}" +
- $"Karakter: {karakter.KarakterVerdi}\n"
- );
+ $"Student: {karakter.Student}\n" +
+ $"Fag: {karakter.Fag}" +
+ $"Karakter: {karakter.KarakterVerdi}\n"
+ );
}
}
\ No newline at end of file
diff --git a/Emne 3/StudentAdmin/StudentAdmin/Program.cs b/Emne 3/StudentAdmin/StudentAdmin/Program.cs
index e5dff12..5f28270 100644
--- a/Emne 3/StudentAdmin/StudentAdmin/Program.cs
+++ b/Emne 3/StudentAdmin/StudentAdmin/Program.cs
@@ -1,3 +1 @@
-// See https://aka.ms/new-console-template for more information
-
-Console.WriteLine("Hello, World!");
\ No newline at end of file
+
\ No newline at end of file
diff --git a/Emne 3/init b/Emne 3/init
new file mode 100644
index 0000000..e69de29
diff --git a/oppgaver/uke7/gjenkjenn_epost/script.js b/oppgaver/uke7/gjenkjenn_epost/script.js
new file mode 100644
index 0000000..3b9aece
--- /dev/null
+++ b/oppgaver/uke7/gjenkjenn_epost/script.js
@@ -0,0 +1,3 @@
+function isSeven(sentence){
+ console.log
+}
\ No newline at end of file