beginn snake
This commit is contained in:
		
							
								
								
									
										25
									
								
								ConsoleAppDotCore/ConsoleAppDotCore.sln
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								ConsoleAppDotCore/ConsoleAppDotCore.sln
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,25 @@
 | 
			
		||||
 | 
			
		||||
Microsoft Visual Studio Solution File, Format Version 12.00
 | 
			
		||||
# Visual Studio Version 16
 | 
			
		||||
VisualStudioVersion = 16.0.28803.352
 | 
			
		||||
MinimumVisualStudioVersion = 10.0.40219.1
 | 
			
		||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleAppDotCore", "ConsoleAppDotCore\ConsoleAppDotCore.csproj", "{924D4C81-89C9-46DA-901B-DD8FF8565779}"
 | 
			
		||||
EndProject
 | 
			
		||||
Global
 | 
			
		||||
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 | 
			
		||||
		Debug|Any CPU = Debug|Any CPU
 | 
			
		||||
		Release|Any CPU = Release|Any CPU
 | 
			
		||||
	EndGlobalSection
 | 
			
		||||
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
 | 
			
		||||
		{924D4C81-89C9-46DA-901B-DD8FF8565779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 | 
			
		||||
		{924D4C81-89C9-46DA-901B-DD8FF8565779}.Debug|Any CPU.Build.0 = Debug|Any CPU
 | 
			
		||||
		{924D4C81-89C9-46DA-901B-DD8FF8565779}.Release|Any CPU.ActiveCfg = Release|Any CPU
 | 
			
		||||
		{924D4C81-89C9-46DA-901B-DD8FF8565779}.Release|Any CPU.Build.0 = Release|Any CPU
 | 
			
		||||
	EndGlobalSection
 | 
			
		||||
	GlobalSection(SolutionProperties) = preSolution
 | 
			
		||||
		HideSolutionNode = FALSE
 | 
			
		||||
	EndGlobalSection
 | 
			
		||||
	GlobalSection(ExtensibilityGlobals) = postSolution
 | 
			
		||||
		SolutionGuid = {D5361926-C00D-4A27-897E-5D0FC99AB9D1}
 | 
			
		||||
	EndGlobalSection
 | 
			
		||||
EndGlobal
 | 
			
		||||
@ -0,0 +1,8 @@
 | 
			
		||||
<Project Sdk="Microsoft.NET.Sdk">
 | 
			
		||||
 | 
			
		||||
  <PropertyGroup>
 | 
			
		||||
    <OutputType>Exe</OutputType>
 | 
			
		||||
    <TargetFramework>netcoreapp2.2</TargetFramework>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
 | 
			
		||||
</Project>
 | 
			
		||||
							
								
								
									
										30
									
								
								ConsoleAppDotCore/ConsoleAppDotCore/Program.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								ConsoleAppDotCore/ConsoleAppDotCore/Program.cs
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,30 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Globalization;
 | 
			
		||||
 | 
			
		||||
namespace ConsoleAppDotCore
 | 
			
		||||
{
 | 
			
		||||
    class Program
 | 
			
		||||
    {
 | 
			
		||||
 | 
			
		||||
        public static object Name { get; set; } = "Hendrik";
 | 
			
		||||
   
 | 
			
		||||
        static void Main(string[] args)
 | 
			
		||||
        {
 | 
			
		||||
            Console.WriteLine("Hello World!");
 | 
			
		||||
 | 
			
		||||
            int y = 4;
 | 
			
		||||
 | 
			
		||||
            string s = Name?.ToString();
 | 
			
		||||
 | 
			
		||||
            Console.WriteLine(s);
 | 
			
		||||
                
 | 
			
		||||
 | 
			
		||||
            Console.WriteLine( nameof(y)+ ": " + y);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
            Console.ReadLine();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user