Initial commit
This commit is contained in:
36
10.2-StringEscape/10.2-StringEscape.csproj
Normal file
36
10.2-StringEscape/10.2-StringEscape.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>{73A72A66-B646-4984-8E71-EF6DF4014E6C}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>StringEscape</RootNamespace>
|
||||
<AssemblyName>10.2-StringEscape</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="StringEscape.cs" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
17
10.2-StringEscape/10.2-StringEscape.sln
Normal file
17
10.2-StringEscape/10.2-StringEscape.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}") = "10.2-StringEscape", "10.2-StringEscape.csproj", "{73A72A66-B646-4984-8E71-EF6DF4014E6C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{73A72A66-B646-4984-8E71-EF6DF4014E6C}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{73A72A66-B646-4984-8E71-EF6DF4014E6C}.Debug|x86.Build.0 = Debug|x86
|
||||
{73A72A66-B646-4984-8E71-EF6DF4014E6C}.Release|x86.ActiveCfg = Release|x86
|
||||
{73A72A66-B646-4984-8E71-EF6DF4014E6C}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
12
10.2-StringEscape/10.2-StringEscape.userprefs
Normal file
12
10.2-StringEscape/10.2-StringEscape.userprefs
Normal file
@@ -0,0 +1,12 @@
|
||||
<Properties StartupItem="10.2-StringEscape.csproj">
|
||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|x86" />
|
||||
<MonoDevelop.Ide.Workbench ActiveDocument="StringEscape.cs">
|
||||
<Files>
|
||||
<File FileName="StringEscape.cs" Line="13" Column="3" />
|
||||
</Files>
|
||||
</MonoDevelop.Ide.Workbench>
|
||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
<BreakpointStore />
|
||||
</MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
|
||||
</Properties>
|
||||
25
10.2-StringEscape/StringEscape.cs
Normal file
25
10.2-StringEscape/StringEscape.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
|
||||
class StringEscape {
|
||||
public static void Main() {
|
||||
string s1 = "This is just a piece of text";
|
||||
Console.WriteLine(s1);
|
||||
|
||||
string s2 = "Double quotes (\") is important and backslash (\\) too.";
|
||||
Console.WriteLine(s2);
|
||||
|
||||
string s3 = "This is a very long line \nof test that should be on two lines.";
|
||||
Console.WriteLine(s3);
|
||||
|
||||
string s4 = "Anna \t65 \tGDFS";
|
||||
string s5 = "Bertil \t54 \tFDSA";
|
||||
string s6 = "Catrin \t12 \tSG";
|
||||
string s7 = "David \t57 \tGF";
|
||||
|
||||
Console.WriteLine("==================================");
|
||||
Console.WriteLine(s4);
|
||||
Console.WriteLine(s5);
|
||||
Console.WriteLine(s6);
|
||||
Console.WriteLine(s7);
|
||||
}
|
||||
}
|
||||
BIN
10.2-StringEscape/bin/Debug/10.2-StringEscape.exe
Normal file
BIN
10.2-StringEscape/bin/Debug/10.2-StringEscape.exe
Normal file
Binary file not shown.
BIN
10.2-StringEscape/bin/Debug/10.2-StringEscape.pdb
Normal file
BIN
10.2-StringEscape/bin/Debug/10.2-StringEscape.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
C:\Users\Crille\CSharp\10.2-StringEscape\bin\Debug\10.2-StringEscape.exe
|
||||
C:\Users\Crille\CSharp\10.2-StringEscape\bin\Debug\10.2-StringEscape.pdb
|
||||
C:\Users\Crille\CSharp\10.2-StringEscape\obj\x86\Debug\10.2-StringEscape.csprojResolveAssemblyReference.cache
|
||||
C:\Users\Crille\CSharp\10.2-StringEscape\obj\x86\Debug\10.2-StringEscape.exe
|
||||
C:\Users\Crille\CSharp\10.2-StringEscape\obj\x86\Debug\10.2-StringEscape.pdb
|
||||
Binary file not shown.
BIN
10.2-StringEscape/obj/x86/Debug/10.2-StringEscape.exe
Normal file
BIN
10.2-StringEscape/obj/x86/Debug/10.2-StringEscape.exe
Normal file
Binary file not shown.
BIN
10.2-StringEscape/obj/x86/Debug/10.2-StringEscape.pdb
Normal file
BIN
10.2-StringEscape/obj/x86/Debug/10.2-StringEscape.pdb
Normal file
Binary file not shown.
Reference in New Issue
Block a user