Initial commit

This commit is contained in:
2018-02-22 23:01:00 +01:00
commit 8a754080ba
378 changed files with 2723 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{4F6F167C-497E-4B2B-92C3-DB9C3611C830}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>Scope</RootNamespace>
<AssemblyName>9.2-Scope</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="Scope.cs" />
</ItemGroup>
</Project>

17
9.2-Scope/9.2-Scope.sln Normal file
View File

@@ -0,0 +1,17 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "9.2-Scope", "9.2-Scope.csproj", "{4F6F167C-497E-4B2B-92C3-DB9C3611C830}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4F6F167C-497E-4B2B-92C3-DB9C3611C830}.Debug|x86.ActiveCfg = Debug|x86
{4F6F167C-497E-4B2B-92C3-DB9C3611C830}.Debug|x86.Build.0 = Debug|x86
{4F6F167C-497E-4B2B-92C3-DB9C3611C830}.Release|x86.ActiveCfg = Release|x86
{4F6F167C-497E-4B2B-92C3-DB9C3611C830}.Release|x86.Build.0 = Release|x86
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,12 @@
<Properties StartupItem="9.2-Scope.csproj">
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|x86" />
<MonoDevelop.Ide.Workbench ActiveDocument="Scope.cs">
<Files>
<File FileName="Scope.cs" Line="20" Column="4" />
</Files>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
</MonoDevelop.Ide.DebuggingService.Breakpoints>
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
</Properties>

33
9.2-Scope/Scope.cs Normal file
View File

@@ -0,0 +1,33 @@
using System;
class Scope {
public static int classVar = 325;
public static void do_something(int indata) {
Console.WriteLine("ClassVar i do_something: {0}", classVar);
Console.WriteLine("Indata: {0}", indata);
}
public static void Main() {
int funkVar = 10;
for (int i = 0; i < 4; i++) {
Console.WriteLine("Variabeln i={0}", i);
}
if (funkVar > 7) {
int ifVar = 65;
Console.WriteLine("ifVar:" + ifVar);
}
Console.WriteLine("Funkvar: {0}", funkVar);
//Console.WriteLine("Raknaren i: {0}", i);
//Console.WriteLine("ifVar: {0}", ifVar);
//Console.WriteLine("SistVar: {0}", sistVar);
//int sistVar = 564;
Console.WriteLine("ClassVar: {0}", classVar);
do_something(111);
Console.WriteLine("Indata:{0}", indata);
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,5 @@
C:\Users\Crille\CSharp\9.2-Scope\bin\Debug\9.2-Scope.exe
C:\Users\Crille\CSharp\9.2-Scope\bin\Debug\9.2-Scope.pdb
C:\Users\Crille\CSharp\9.2-Scope\obj\x86\Debug\9.2-Scope.csprojResolveAssemblyReference.cache
C:\Users\Crille\CSharp\9.2-Scope\obj\x86\Debug\9.2-Scope.exe
C:\Users\Crille\CSharp\9.2-Scope\obj\x86\Debug\9.2-Scope.pdb

Binary file not shown.

Binary file not shown.