Initial commit
This commit is contained in:
36
3.1-Operatorer/3.1-Operatorer.csproj
Normal file
36
3.1-Operatorer/3.1-Operatorer.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>{ED7EEDAF-99B2-4538-B084-CC5984A30F39}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>Operatorer</RootNamespace>
|
||||
<AssemblyName>3.1-Operatorer</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="Operatorer.cs" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
17
3.1-Operatorer/3.1-Operatorer.sln
Normal file
17
3.1-Operatorer/3.1-Operatorer.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}") = "3.1-Operatorer", "3.1-Operatorer.csproj", "{ED7EEDAF-99B2-4538-B084-CC5984A30F39}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{ED7EEDAF-99B2-4538-B084-CC5984A30F39}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{ED7EEDAF-99B2-4538-B084-CC5984A30F39}.Debug|x86.Build.0 = Debug|x86
|
||||
{ED7EEDAF-99B2-4538-B084-CC5984A30F39}.Release|x86.ActiveCfg = Release|x86
|
||||
{ED7EEDAF-99B2-4538-B084-CC5984A30F39}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
12
3.1-Operatorer/3.1-Operatorer.userprefs
Normal file
12
3.1-Operatorer/3.1-Operatorer.userprefs
Normal file
@@ -0,0 +1,12 @@
|
||||
<Properties StartupItem="3.1-Operatorer.csproj">
|
||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|x86" />
|
||||
<MonoDevelop.Ide.Workbench ActiveDocument="Operatorer.cs">
|
||||
<Files>
|
||||
<File FileName="Operatorer.cs" Line="25" Column="37" />
|
||||
</Files>
|
||||
</MonoDevelop.Ide.Workbench>
|
||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
<BreakpointStore />
|
||||
</MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
|
||||
</Properties>
|
||||
33
3.1-Operatorer/Operatorer.cs
Normal file
33
3.1-Operatorer/Operatorer.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
|
||||
class Operatorer {
|
||||
public static void Main() {
|
||||
int a = 1;
|
||||
float f = 45f;
|
||||
/*
|
||||
Console.WriteLine("Plus: {0}", 3 + 4);
|
||||
Console.WriteLine("Plus: {0}", 3 - 4);
|
||||
Console.WriteLine("Plus: {0}", 3 * 4);
|
||||
Console.WriteLine("Plus: {0}", 3f / 4f);
|
||||
*/
|
||||
a += 5;
|
||||
//Console.WriteLine("A: " + a);
|
||||
a -= 5;
|
||||
//Console.WriteLine("A: " + a);
|
||||
a *= 5;
|
||||
//Console.WriteLine("A: " + a);
|
||||
a /= 5;
|
||||
//Console.WriteLine("A: " + a);
|
||||
|
||||
a = 5;
|
||||
Console.WriteLine("A före: " + a);
|
||||
Console.WriteLine("A efter: " + --a);
|
||||
Console.WriteLine("A sist: " + a);
|
||||
|
||||
/*
|
||||
f /= 26;
|
||||
Console.WriteLine("f: " + f);
|
||||
Console.WriteLine("f: {0:0.000}", f);
|
||||
*/
|
||||
}
|
||||
}
|
||||
BIN
3.1-Operatorer/bin/Debug/3.1-Operatorer.exe
Normal file
BIN
3.1-Operatorer/bin/Debug/3.1-Operatorer.exe
Normal file
Binary file not shown.
BIN
3.1-Operatorer/bin/Debug/3.1-Operatorer.pdb
Normal file
BIN
3.1-Operatorer/bin/Debug/3.1-Operatorer.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
C:\Users\Crille\CSharp\3.1-Operatorer\bin\Debug\3.1-Operatorer.exe
|
||||
C:\Users\Crille\CSharp\3.1-Operatorer\bin\Debug\3.1-Operatorer.pdb
|
||||
C:\Users\Crille\CSharp\3.1-Operatorer\obj\x86\Debug\3.1-Operatorer.csprojResolveAssemblyReference.cache
|
||||
C:\Users\Crille\CSharp\3.1-Operatorer\obj\x86\Debug\3.1-Operatorer.exe
|
||||
C:\Users\Crille\CSharp\3.1-Operatorer\obj\x86\Debug\3.1-Operatorer.pdb
|
||||
Binary file not shown.
BIN
3.1-Operatorer/obj/x86/Debug/3.1-Operatorer.exe
Normal file
BIN
3.1-Operatorer/obj/x86/Debug/3.1-Operatorer.exe
Normal file
Binary file not shown.
BIN
3.1-Operatorer/obj/x86/Debug/3.1-Operatorer.pdb
Normal file
BIN
3.1-Operatorer/obj/x86/Debug/3.1-Operatorer.pdb
Normal file
Binary file not shown.
Reference in New Issue
Block a user