C#
This commit is contained in:
parent
e8293852a0
commit
9f151da503
8 changed files with 45 additions and 1 deletions
10
Emne 3/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj
Normal file
10
Emne 3/ConsoleApp1/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>
|
15
Emne 3/ConsoleApp1/ConsoleApp1/Program.cs
Normal file
15
Emne 3/ConsoleApp1/ConsoleApp1/Program.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
namespace ConsoleApp1;
|
||||
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello, World!");
|
||||
var number = GetNumber();
|
||||
}
|
||||
|
||||
static int GetNumber()
|
||||
{
|
||||
return 7;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue