Static
This commit is contained in:
parent
766a121d87
commit
5273e3e141
10
Emne 3/EssentialCsharp/ConsoleApp1/ConsoleApp1.csproj
Normal file
10
Emne 3/EssentialCsharp/ConsoleApp1/ConsoleApp1.csproj
Normal file
|
@ -0,0 +1,10 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
1
Emne 3/EssentialCsharp/ConsoleApp1/Program.cs
Normal file
1
Emne 3/EssentialCsharp/ConsoleApp1/Program.cs
Normal file
|
@ -0,0 +1 @@
|
|||
Console.WriteLine("Hello, World!");
|
16
Emne 3/StaticogIkkestatic/StaticogIkkestatic.sln
Normal file
16
Emne 3/StaticogIkkestatic/StaticogIkkestatic.sln
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StaticogIkkestatic", "StaticogIkkestatic\StaticogIkkestatic.csproj", "{DAE6A06C-254F-4390-A8B1-648D908E01A5}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{DAE6A06C-254F-4390-A8B1-648D908E01A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DAE6A06C-254F-4390-A8B1-648D908E01A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DAE6A06C-254F-4390-A8B1-648D908E01A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DAE6A06C-254F-4390-A8B1-648D908E01A5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
19
Emne 3/StaticogIkkestatic/StaticogIkkestatic/Program.cs
Normal file
19
Emne 3/StaticogIkkestatic/StaticogIkkestatic/Program.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
namespace StaticogIkkestatic
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
ShowSeperatorRow();
|
||||
Console.WriteLine("Navn: Stavern");
|
||||
Console.WriteLine("Kommune: Larvik");
|
||||
Console.WriteLine("Fylke: Vestfold");
|
||||
ShowSeperatorRow();
|
||||
}
|
||||
static void ShowSeperatorRow()
|
||||
{
|
||||
Console.WriteLine("****************************");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
Loading…
Reference in a new issue