Initial commit
This commit is contained in:
36
9.5-Overload/9.5-Overload.csproj
Normal file
36
9.5-Overload/9.5-Overload.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>{092CE372-A9A4-4442-8711-83C18326F84C}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>Overload</RootNamespace>
|
||||
<AssemblyName>9.5-Overload</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="Overload.cs" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
17
9.5-Overload/9.5-Overload.sln
Normal file
17
9.5-Overload/9.5-Overload.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.5-Overload", "9.5-Overload.csproj", "{092CE372-A9A4-4442-8711-83C18326F84C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{092CE372-A9A4-4442-8711-83C18326F84C}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{092CE372-A9A4-4442-8711-83C18326F84C}.Debug|x86.Build.0 = Debug|x86
|
||||
{092CE372-A9A4-4442-8711-83C18326F84C}.Release|x86.ActiveCfg = Release|x86
|
||||
{092CE372-A9A4-4442-8711-83C18326F84C}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
12
9.5-Overload/9.5-Overload.userprefs
Normal file
12
9.5-Overload/9.5-Overload.userprefs
Normal file
@@ -0,0 +1,12 @@
|
||||
<Properties StartupItem="9.5-Overload.csproj">
|
||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|x86" />
|
||||
<MonoDevelop.Ide.Workbench ActiveDocument="Overload.cs">
|
||||
<Files>
|
||||
<File FileName="Overload.cs" Line="24" Column="81" />
|
||||
</Files>
|
||||
</MonoDevelop.Ide.Workbench>
|
||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
<BreakpointStore />
|
||||
</MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
|
||||
</Properties>
|
||||
26
9.5-Overload/Overload.cs
Normal file
26
9.5-Overload/Overload.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
|
||||
class Overload {
|
||||
public static void Main() {
|
||||
PrintInfo();
|
||||
PrintInfo(5);
|
||||
PrintInfo(5, "Kalle");
|
||||
PrintInfo("Lisa", 5);
|
||||
}
|
||||
|
||||
static void PrintInfo() {
|
||||
Console.WriteLine("Jag skriver inte ut nagot alls.");
|
||||
}
|
||||
|
||||
static void PrintInfo(int tal) {
|
||||
Console.WriteLine("Ett tal: " + tal);
|
||||
}
|
||||
|
||||
static void PrintInfo(int tal, string namn) {
|
||||
Console.WriteLine("Ett tal: " + tal + " och namnet:" + namn);
|
||||
}
|
||||
|
||||
static void PrintInfo(string namn, int tal) {
|
||||
Console.WriteLine("Denna tar emot en strang: " + namn + " och talet: " + tal);
|
||||
}
|
||||
}
|
||||
BIN
9.5-Overload/bin/Debug/9.5-Overload.exe
Normal file
BIN
9.5-Overload/bin/Debug/9.5-Overload.exe
Normal file
Binary file not shown.
BIN
9.5-Overload/bin/Debug/9.5-Overload.pdb
Normal file
BIN
9.5-Overload/bin/Debug/9.5-Overload.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
C:\Users\Crille\CSharp\9.5-Overload\bin\Debug\9.5-Overload.exe
|
||||
C:\Users\Crille\CSharp\9.5-Overload\bin\Debug\9.5-Overload.pdb
|
||||
C:\Users\Crille\CSharp\9.5-Overload\obj\x86\Debug\9.5-Overload.csprojResolveAssemblyReference.cache
|
||||
C:\Users\Crille\CSharp\9.5-Overload\obj\x86\Debug\9.5-Overload.exe
|
||||
C:\Users\Crille\CSharp\9.5-Overload\obj\x86\Debug\9.5-Overload.pdb
|
||||
Binary file not shown.
BIN
9.5-Overload/obj/x86/Debug/9.5-Overload.exe
Normal file
BIN
9.5-Overload/obj/x86/Debug/9.5-Overload.exe
Normal file
Binary file not shown.
BIN
9.5-Overload/obj/x86/Debug/9.5-Overload.pdb
Normal file
BIN
9.5-Overload/obj/x86/Debug/9.5-Overload.pdb
Normal file
Binary file not shown.
Reference in New Issue
Block a user