This commit is contained in:
Geir Okkenhaug Jerstad 2024-11-13 11:18:41 +01:00
parent e8293852a0
commit 9f151da503
8 changed files with 45 additions and 1 deletions

View file

@ -0,0 +1,16 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{1571DA60-F5CA-48EA-A530-46769DF80DFF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1571DA60-F5CA-48EA-A530-46769DF80DFF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1571DA60-F5CA-48EA-A530-46769DF80DFF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1571DA60-F5CA-48EA-A530-46769DF80DFF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1571DA60-F5CA-48EA-A530-46769DF80DFF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

View 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>

View 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;
}
}

View file

@ -1,4 +1,7 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
Console.WriteLine("Press any key to exit...");
float f;
f = 0.0f;
Console.WriteLine("This is a basic console application.");