Initial commit
This commit is contained in:
36
9.1-Enkel_Funktion/9.1-Enkel_Funktion.csproj
Normal file
36
9.1-Enkel_Funktion/9.1-Enkel_Funktion.csproj
Normal 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>{F7AD8585-0E03-4980-8C5D-BAC8BC479E8F}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>Enkel_Funktion</RootNamespace>
|
||||
<AssemblyName>9.1-Enkel_Funktion</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="Enkel_Funktion.cs" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
17
9.1-Enkel_Funktion/9.1-Enkel_Funktion.sln
Normal file
17
9.1-Enkel_Funktion/9.1-Enkel_Funktion.sln
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "9.1-Enkel_Funktion", "9.1-Enkel_Funktion.csproj", "{F7AD8585-0E03-4980-8C5D-BAC8BC479E8F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{F7AD8585-0E03-4980-8C5D-BAC8BC479E8F}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{F7AD8585-0E03-4980-8C5D-BAC8BC479E8F}.Debug|x86.Build.0 = Debug|x86
|
||||
{F7AD8585-0E03-4980-8C5D-BAC8BC479E8F}.Release|x86.ActiveCfg = Release|x86
|
||||
{F7AD8585-0E03-4980-8C5D-BAC8BC479E8F}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
12
9.1-Enkel_Funktion/9.1-Enkel_Funktion.userprefs
Normal file
12
9.1-Enkel_Funktion/9.1-Enkel_Funktion.userprefs
Normal file
@@ -0,0 +1,12 @@
|
||||
<Properties StartupItem="9.1-Enkel_Funktion.csproj">
|
||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|x86" />
|
||||
<MonoDevelop.Ide.Workbench ActiveDocument="Enkel_Funktion.cs">
|
||||
<Files>
|
||||
<File FileName="Enkel_Funktion.cs" Line="11" Column="2" />
|
||||
</Files>
|
||||
</MonoDevelop.Ide.Workbench>
|
||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
<BreakpointStore />
|
||||
</MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
|
||||
</Properties>
|
||||
23
9.1-Enkel_Funktion/Enkel_Funktion.cs
Normal file
23
9.1-Enkel_Funktion/Enkel_Funktion.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
|
||||
class Enkel_Funktion {
|
||||
public static void PrintCompany() {
|
||||
Console.WriteLine("===================================");
|
||||
Console.WriteLine("| Catrins Fruktaffar AB |");
|
||||
Console.WriteLine("| Hemgatan 1 |");
|
||||
Console.WriteLine("| 123 45 Bortistan |");
|
||||
Console.WriteLine("===================================");
|
||||
}
|
||||
|
||||
public static void Main() {
|
||||
Console.WriteLine("Nu skall vi anropa en funktion");
|
||||
|
||||
PrintCompany();
|
||||
|
||||
Console.WriteLine("funkar det en gang till?");
|
||||
for (int i = 0; i < 5; i++) {
|
||||
Console.WriteLine("Anropar funktionen: " + i);
|
||||
PrintCompany();
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
9.1-Enkel_Funktion/bin/Debug/9.1-Enkel_Funktion.exe
Normal file
BIN
9.1-Enkel_Funktion/bin/Debug/9.1-Enkel_Funktion.exe
Normal file
Binary file not shown.
BIN
9.1-Enkel_Funktion/bin/Debug/9.1-Enkel_Funktion.pdb
Normal file
BIN
9.1-Enkel_Funktion/bin/Debug/9.1-Enkel_Funktion.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
C:\Users\Crille\CSharp\9.1-Enkel_Funktion\bin\Debug\9.1-Enkel_Funktion.exe
|
||||
C:\Users\Crille\CSharp\9.1-Enkel_Funktion\bin\Debug\9.1-Enkel_Funktion.pdb
|
||||
C:\Users\Crille\CSharp\9.1-Enkel_Funktion\obj\x86\Debug\9.1-Enkel_Funktion.csprojResolveAssemblyReference.cache
|
||||
C:\Users\Crille\CSharp\9.1-Enkel_Funktion\obj\x86\Debug\9.1-Enkel_Funktion.exe
|
||||
C:\Users\Crille\CSharp\9.1-Enkel_Funktion\obj\x86\Debug\9.1-Enkel_Funktion.pdb
|
||||
Binary file not shown.
BIN
9.1-Enkel_Funktion/obj/x86/Debug/9.1-Enkel_Funktion.exe
Normal file
BIN
9.1-Enkel_Funktion/obj/x86/Debug/9.1-Enkel_Funktion.exe
Normal file
Binary file not shown.
BIN
9.1-Enkel_Funktion/obj/x86/Debug/9.1-Enkel_Funktion.pdb
Normal file
BIN
9.1-Enkel_Funktion/obj/x86/Debug/9.1-Enkel_Funktion.pdb
Normal file
Binary file not shown.
Reference in New Issue
Block a user