Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Uwe Wienkop
Prog1_WS2018_19_Wienkop
Commits
589624b1
Commit
589624b1
authored
Nov 20, 2018
by
Uwe Wienkop
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Di, 20.11.2018
parent
c734d1c9
Changes
27
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
854 additions
and
2 deletions
+854
-2
01Pythagoras/Prog1_WS2018.sln
01Pythagoras/Prog1_WS2018.sln
+36
-0
04Histogramm/Program.cs
04Histogramm/Program.cs
+3
-2
06TicTacToe_Intro/Program.cs
06TicTacToe_Intro/Program.cs
+71
-0
07MaxKniffel/07MaxKniffel.csproj
07MaxKniffel/07MaxKniffel.csproj
+53
-0
07MaxKniffel/App.config
07MaxKniffel/App.config
+6
-0
07MaxKniffel/Program.cs
07MaxKniffel/Program.cs
+29
-0
07MaxKniffel/Properties/AssemblyInfo.cs
07MaxKniffel/Properties/AssemblyInfo.cs
+36
-0
07MehrdimensionaleFelder/07MehrdimensionaleFelder.csproj
07MehrdimensionaleFelder/07MehrdimensionaleFelder.csproj
+53
-0
07MehrdimensionaleFelder/App.config
07MehrdimensionaleFelder/App.config
+6
-0
07MehrdimensionaleFelder/Program.cs
07MehrdimensionaleFelder/Program.cs
+31
-0
07MehrdimensionaleFelder/Properties/AssemblyInfo.cs
07MehrdimensionaleFelder/Properties/AssemblyInfo.cs
+36
-0
07Palindrome/07Palindrome.csproj
07Palindrome/07Palindrome.csproj
+53
-0
07Palindrome/App.config
07Palindrome/App.config
+6
-0
07Palindrome/Program.cs
07Palindrome/Program.cs
+44
-0
07Palindrome/Properties/AssemblyInfo.cs
07Palindrome/Properties/AssemblyInfo.cs
+36
-0
07Sprachausgabe/07Sprachausgabe.csproj
07Sprachausgabe/07Sprachausgabe.csproj
+54
-0
07Sprachausgabe/App.config
07Sprachausgabe/App.config
+6
-0
07Sprachausgabe/Program.cs
07Sprachausgabe/Program.cs
+24
-0
07Sprachausgabe/Properties/AssemblyInfo.cs
07Sprachausgabe/Properties/AssemblyInfo.cs
+36
-0
07Zufallszahlen/07Zufallszahlen.csproj
07Zufallszahlen/07Zufallszahlen.csproj
+53
-0
07Zufallszahlen/App.config
07Zufallszahlen/App.config
+6
-0
07Zufallszahlen/Program.cs
07Zufallszahlen/Program.cs
+25
-0
07Zufallszahlen/Properties/AssemblyInfo.cs
07Zufallszahlen/Properties/AssemblyInfo.cs
+36
-0
CaesarKodierung/07CaesarKodierung.csproj
CaesarKodierung/07CaesarKodierung.csproj
+53
-0
CaesarKodierung/App.config
CaesarKodierung/App.config
+6
-0
CaesarKodierung/Program.cs
CaesarKodierung/Program.cs
+20
-0
CaesarKodierung/Properties/AssemblyInfo.cs
CaesarKodierung/Properties/AssemblyInfo.cs
+36
-0
No files found.
01Pythagoras/Prog1_WS2018.sln
View file @
589624b1
...
...
@@ -49,6 +49,18 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "05ZeichenkettenIntro02", ".
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "06TicTacToe_Intro", "..\06TicTacToe_Intro\06TicTacToe_Intro.csproj", "{38A6DC3F-B05D-4437-BB84-96C2A2E6D3E8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "07Palindrome", "..\07Palindrome\07Palindrome.csproj", "{80F3368B-E62C-430F-B997-EA16EB9F498C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "07CaesarKodierung", "..\CaesarKodierung\07CaesarKodierung.csproj", "{F7E57C1C-4DB4-4607-BA9B-31095B6F9E05}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "07MehrdimensionaleFelder", "..\07MehrdimensionaleFelder\07MehrdimensionaleFelder.csproj", "{BDCFC326-49C1-435C-B5B8-CCADB58C34B1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "07Zufallszahlen", "..\07Zufallszahlen\07Zufallszahlen.csproj", "{D88CB987-8F8C-4553-A777-962396E5A42C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "07MaxKniffel", "..\07MaxKniffel\07MaxKniffel.csproj", "{A523C7CB-96CC-48CC-883D-B9DBA2285E22}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "07Sprachausgabe", "..\07Sprachausgabe\07Sprachausgabe.csproj", "{BA623A29-59F9-44F9-A783-514A0CD87B14}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
...
...
@@ -147,6 +159,30 @@ Global
{38A6DC3F-B05D-4437-BB84-96C2A2E6D3E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{38A6DC3F-B05D-4437-BB84-96C2A2E6D3E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{38A6DC3F-B05D-4437-BB84-96C2A2E6D3E8}.Release|Any CPU.Build.0 = Release|Any CPU
{80F3368B-E62C-430F-B997-EA16EB9F498C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{80F3368B-E62C-430F-B997-EA16EB9F498C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{80F3368B-E62C-430F-B997-EA16EB9F498C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{80F3368B-E62C-430F-B997-EA16EB9F498C}.Release|Any CPU.Build.0 = Release|Any CPU
{F7E57C1C-4DB4-4607-BA9B-31095B6F9E05}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F7E57C1C-4DB4-4607-BA9B-31095B6F9E05}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F7E57C1C-4DB4-4607-BA9B-31095B6F9E05}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F7E57C1C-4DB4-4607-BA9B-31095B6F9E05}.Release|Any CPU.Build.0 = Release|Any CPU
{BDCFC326-49C1-435C-B5B8-CCADB58C34B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BDCFC326-49C1-435C-B5B8-CCADB58C34B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BDCFC326-49C1-435C-B5B8-CCADB58C34B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BDCFC326-49C1-435C-B5B8-CCADB58C34B1}.Release|Any CPU.Build.0 = Release|Any CPU
{D88CB987-8F8C-4553-A777-962396E5A42C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D88CB987-8F8C-4553-A777-962396E5A42C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D88CB987-8F8C-4553-A777-962396E5A42C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D88CB987-8F8C-4553-A777-962396E5A42C}.Release|Any CPU.Build.0 = Release|Any CPU
{A523C7CB-96CC-48CC-883D-B9DBA2285E22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A523C7CB-96CC-48CC-883D-B9DBA2285E22}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A523C7CB-96CC-48CC-883D-B9DBA2285E22}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A523C7CB-96CC-48CC-883D-B9DBA2285E22}.Release|Any CPU.Build.0 = Release|Any CPU
{BA623A29-59F9-44F9-A783-514A0CD87B14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BA623A29-59F9-44F9-A783-514A0CD87B14}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BA623A29-59F9-44F9-A783-514A0CD87B14}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BA623A29-59F9-44F9-A783-514A0CD87B14}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
...
...
04Histogramm/Program.cs
View file @
589624b1
...
...
@@ -12,11 +12,12 @@ namespace _04Histogramm
{
int
[]
feld
=
new
int
[
100
];
Random
wuerfel
=
new
Random
();
Random
wuerfel
=
new
Random
();
// Anlegen eines Würfels
for
(
int
i
=
0
;
i
<
feld
.
Length
;
i
++)
{
//feld[i] = feld.Length - i;
feld
[
i
]
=
wuerfel
.
Next
(
0
,
10
);
feld
[
i
]
=
wuerfel
.
Next
(
0
,
10
);
// Würfeln einer Zahl
// im Bereich [0..10[, d.h. [0..9]
}
for
(
int
i
=
0
;
i
<
feld
.
Length
;
i
++)
...
...
06TicTacToe_Intro/Program.cs
View file @
589624b1
...
...
@@ -31,7 +31,78 @@ namespace _06TicTacToe_Intro
{
return
true
;
}
static
void
Main
(
string
[]
args
)
{
/*
* Intialisierung
* Feld anlegen
* WIEDERHOLE:
* Spielfeld ausgeben
* Eingabe des ersten Spielers
* Test auf TicTacToe; Abbruch wenn TicTacToe
* Spielfeld ausgeben
* Eingabe des zweiten Spielers
* Test auf TicTacToe; Abbruch wenn TicTacToe
* SOLANGE noch kein TicTacToe
* Sieger ausgeben
*/
const
int
zeilenAnzahl
=
4
;
const
int
spaltenAnzahl
=
4
;
int
zeile
,
spalte
;
int
[,]
spielfeld
=
new
int
[
zeilenAnzahl
,
spaltenAnzahl
];
bool
ticTacToeErreicht
=
false
;
do
{
SpielfeldAusgeben
(
spielfeld
);
EingabeSpieler
(
1
,
zeilenAnzahl
,
spaltenAnzahl
,
out
zeile
,
out
spalte
);
spielfeld
[
zeile
,
spalte
]
=
1
;
SpielfeldAusgeben
(
spielfeld
);
EingabeSpieler
(
2
,
zeilenAnzahl
,
spaltenAnzahl
,
out
zeile
,
out
spalte
);
spielfeld
[
zeile
,
spalte
]
=
2
;
}
while
(!
ticTacToeErreicht
);
}
private
static
void
EingabeSpieler
(
int
spieler
,
int
zeilenAnz
,
int
spaltenAnz
,
out
int
zeile
,
out
int
spalte
)
{
/*
* Begrüßungstext ausgeben
* WIEDERHOLE:
* Abfrage erste Koordinate
* Test auf Gültigkeit
* SOLANGE bis "gültig"
* ... nocheinmal für zweite Koordinate
*/
Console
.
WriteLine
(
$"Spieler-
{
spieler
}
: Bitte Koordinaten eingeben"
);
zeile
=
AbfrageKoordinate
(
"Zeile"
,
zeilenAnz
);
spalte
=
AbfrageKoordinate
(
"Spalte"
,
spaltenAnz
);
}
private
static
int
AbfrageKoordinate
(
string
text
,
int
wertebereich
)
{
/*
* WIEDERHOLE:
* Ausgabe Text
* Tastaturabfrage
* BIS Wert im Wertebereich
*/
int
zahl
;
do
{
Console
.
Write
(
text
+
": "
);
zahl
=
Console
.
ReadKey
().
KeyChar
-
'0'
;
}
while
(
zahl
<
1
||
zahl
>
wertebereich
);
return
zahl
-
1
;
}
static
void
SpielfeldAusgeben
(
int
[,]
spielfeld
)
{
throw
new
NotImplementedException
();
}
static
void
Main2
(
string
[]
args
)
{
int
[]
Kniffel
=
new
int
[
10
];
Kniffeltest
(
Kniffel
);
...
...
07MaxKniffel/07MaxKniffel.csproj
0 → 100644
View file @
589624b1
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"15.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Import
Project=
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition=
"Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
<PropertyGroup>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProjectGuid>
{A523C7CB-96CC-48CC-883D-B9DBA2285E22}
</ProjectGuid>
<OutputType>
Exe
</OutputType>
<RootNamespace>
_07MaxKniffel
</RootNamespace>
<AssemblyName>
07MaxKniffel
</AssemblyName>
<TargetFrameworkVersion>
v4.6.1
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<AutoGenerateBindingRedirects>
true
</AutoGenerateBindingRedirects>
<Deterministic>
true
</Deterministic>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugSymbols>
true
</DebugSymbols>
<DebugType>
full
</DebugType>
<Optimize>
false
</Optimize>
<OutputPath>
bin\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugType>
pdbonly
</DebugType>
<Optimize>
true
</Optimize>
<OutputPath>
bin\Release\
</OutputPath>
<DefineConstants>
TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Xml.Linq"
/>
<Reference
Include=
"System.Data.DataSetExtensions"
/>
<Reference
Include=
"Microsoft.CSharp"
/>
<Reference
Include=
"System.Data"
/>
<Reference
Include=
"System.Net.Http"
/>
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"Program.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"App.config"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
</Project>
\ No newline at end of file
07MaxKniffel/App.config
0 → 100644
View file @
589624b1
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
startup
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.6.1"
/>
</
startup
>
</
configuration
>
\ No newline at end of file
07MaxKniffel/Program.cs
0 → 100644
View file @
589624b1
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
_07MaxKniffel
{
class
Program
{
static
void
Main
(
string
[]
args
)
{
const
int
anzWuerfe
=
100
;
Random
wuerfel
=
new
Random
();
int
letzteZahl
=
0
;
int
maxKniffelLaenge
=
0
;
int
for
(
int
i
=
0
;
i
<
anzWuerfe
;
i
++)
{
int
zahl
=
wuerfel
.
Next
(
1
,
7
);
if
(
zahl
==
letzteZahl
)
{
}
}
}
}
}
07MaxKniffel/Properties/AssemblyInfo.cs
0 → 100644
View file @
589624b1
using
System.Reflection
;
using
System.Runtime.CompilerServices
;
using
System.Runtime.InteropServices
;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[
assembly
:
AssemblyTitle
(
"07MaxKniffel"
)]
[
assembly
:
AssemblyDescription
(
""
)]
[
assembly
:
AssemblyConfiguration
(
""
)]
[
assembly
:
AssemblyCompany
(
""
)]
[
assembly
:
AssemblyProduct
(
"07MaxKniffel"
)]
[
assembly
:
AssemblyCopyright
(
"Copyright © 2018"
)]
[
assembly
:
AssemblyTrademark
(
""
)]
[
assembly
:
AssemblyCulture
(
""
)]
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
[
assembly
:
ComVisible
(
false
)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
[
assembly
:
Guid
(
"a523c7cb-96cc-48cc-883d-b9dba2285e22"
)]
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Revision
//
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[
assembly
:
AssemblyVersion
(
"1.0.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.0.0.0"
)]
07MehrdimensionaleFelder/07MehrdimensionaleFelder.csproj
0 → 100644
View file @
589624b1
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"15.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Import
Project=
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition=
"Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
<PropertyGroup>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProjectGuid>
{BDCFC326-49C1-435C-B5B8-CCADB58C34B1}
</ProjectGuid>
<OutputType>
Exe
</OutputType>
<RootNamespace>
_07MehrdimensionaleFelder
</RootNamespace>
<AssemblyName>
07MehrdimensionaleFelder
</AssemblyName>
<TargetFrameworkVersion>
v4.6.1
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<AutoGenerateBindingRedirects>
true
</AutoGenerateBindingRedirects>
<Deterministic>
true
</Deterministic>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugSymbols>
true
</DebugSymbols>
<DebugType>
full
</DebugType>
<Optimize>
false
</Optimize>
<OutputPath>
bin\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugType>
pdbonly
</DebugType>
<Optimize>
true
</Optimize>
<OutputPath>
bin\Release\
</OutputPath>
<DefineConstants>
TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Xml.Linq"
/>
<Reference
Include=
"System.Data.DataSetExtensions"
/>
<Reference
Include=
"Microsoft.CSharp"
/>
<Reference
Include=
"System.Data"
/>
<Reference
Include=
"System.Net.Http"
/>
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"Program.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"App.config"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
</Project>
\ No newline at end of file
07MehrdimensionaleFelder/App.config
0 → 100644
View file @
589624b1
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
startup
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.6.1"
/>
</
startup
>
</
configuration
>
\ No newline at end of file
07MehrdimensionaleFelder/Program.cs
0 → 100644
View file @
589624b1
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
_07MehrdimensionaleFelder
{
class
Program
{
static
void
Main
(
string
[]
args
)
{
//int[,] a;
//a=new int [2,3] {}
// Rechteckiges, 2-Dimensionales Feld; zwei Zeilen mit je 3 Spalten
int
[,]
feld2D1
=
new
int
[
2
,
3
];
int
[,]
feld2D
=
{
{
1
,
2
,
3
},
{
4
,
5
,
6
}
};
//int[] feld1D = feld2D[1]; // geht so leider nicht!
// Ausgefranstes, unregelmäßiges 2-Dimensionales Feld
// Zwei Zeilen mit einmal 3 und einmal 4 Elementen
int
[][]
f2D
=
{
new
int
[]
{
1
,
2
,
3
},
new
int
[]
{
4
,
5
,
6
,
7
}
};
int
[]
f1D
=
f2D
[
1
];
int
[][]
Koeff
=
{
new
int
[]
{
0
,-
1
,
0
,+
1
},
new
int
[]
{-
1
,
0
,
+
1
,
0
}};
}
}
}
07MehrdimensionaleFelder/Properties/AssemblyInfo.cs
0 → 100644
View file @
589624b1
using
System.Reflection
;
using
System.Runtime.CompilerServices
;
using
System.Runtime.InteropServices
;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[
assembly
:
AssemblyTitle
(
"07MehrdimensionaleFelder"
)]
[
assembly
:
AssemblyDescription
(
""
)]
[
assembly
:
AssemblyConfiguration
(
""
)]
[
assembly
:
AssemblyCompany
(
""
)]
[
assembly
:
AssemblyProduct
(
"07MehrdimensionaleFelder"
)]
[
assembly
:
AssemblyCopyright
(
"Copyright © 2018"
)]
[
assembly
:
AssemblyTrademark
(
""
)]
[
assembly
:
AssemblyCulture
(
""
)]
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
[
assembly
:
ComVisible
(
false
)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
[
assembly
:
Guid
(
"bdcfc326-49c1-435c-b5b8-ccadb58c34b1"
)]
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Revision
//
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[
assembly
:
AssemblyVersion
(
"1.0.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.0.0.0"
)]
07Palindrome/07Palindrome.csproj
0 → 100644
View file @
589624b1
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"15.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Import
Project=
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition=
"Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
<PropertyGroup>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProjectGuid>
{80F3368B-E62C-430F-B997-EA16EB9F498C}
</ProjectGuid>
<OutputType>
Exe
</OutputType>
<RootNamespace>
_07Palindrome
</RootNamespace>
<AssemblyName>
07Palindrome
</AssemblyName>
<TargetFrameworkVersion>
v4.6.1
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<AutoGenerateBindingRedirects>
true
</AutoGenerateBindingRedirects>
<Deterministic>
true
</Deterministic>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugSymbols>
true
</DebugSymbols>
<DebugType>
full
</DebugType>
<Optimize>
false
</Optimize>
<OutputPath>
bin\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugType>
pdbonly
</DebugType>
<Optimize>
true
</Optimize>
<OutputPath>
bin\Release\
</OutputPath>
<DefineConstants>
TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Xml.Linq"
/>
<Reference
Include=
"System.Data.DataSetExtensions"
/>
<Reference
Include=
"Microsoft.CSharp"
/>
<Reference
Include=
"System.Data"
/>
<Reference
Include=
"System.Net.Http"
/>
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"Program.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"App.config"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
</Project>
\ No newline at end of file
07Palindrome/App.config
0 → 100644
View file @
589624b1
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
startup
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.6.1"
/>
</
startup
>
</
configuration
>
\ No newline at end of file
07Palindrome/Program.cs
0 → 100644
View file @
589624b1
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
_07Palindrome
{
class
Program
{
private
static
bool
Palindromtest
(
string
s
)
{
Console
.
WriteLine
(
$"Zeichenkette:
{
s
}
"
);
int
i
=
0
,
j
=
s
.
Length
-
1
;
while
(
i
<
j
)
{
if
(
s
[
i
]
!=
s
[
j
])
return
false
;
i
++;
j
--;
}
return
true
;
}
private
static
bool
Palindromtest0
(
string
s
)
{
Console
.
WriteLine
(
$"Zeichenkette:
{
s
}
"
);
for
(
int
i
=
0
,
j
=
s
.
Length
-
1
;
i
<
j
;
i
++,
j
--)
{
if
(
s
[
i
]
!=
s
[
j
])
return
false
;
}
return
true
;
}
static
void
Main
(
string
[]
args
)
{
Console
.
WriteLine
(
Palindromtest
(
"OTTO"
));
//Console.WriteLine(Palindromtest("Regal mit Sirup pur ist im Lager!"));
//Console.WriteLine(Palindromtest("Nie Knabe, nie, grub Nero neben Orenburg eine Bank ein"));
}
}
}
07Palindrome/Properties/AssemblyInfo.cs
0 → 100644
View file @
589624b1
using
System.Reflection
;
using
System.Runtime.CompilerServices
;
using
System.Runtime.InteropServices
;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[
assembly
:
AssemblyTitle
(
"07Palindrome"
)]
[
assembly
:
AssemblyDescription
(
""
)]
[
assembly
:
AssemblyConfiguration
(
""
)]
[
assembly
:
AssemblyCompany
(
""
)]
[
assembly
:
AssemblyProduct
(
"07Palindrome"
)]
[
assembly
:
AssemblyCopyright
(
"Copyright © 2018"
)]
[
assembly
:
AssemblyTrademark
(
""
)]
[
assembly
:
AssemblyCulture
(
""
)]
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
[
assembly
:
ComVisible
(
false
)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
[
assembly
:
Guid
(
"80f3368b-e62c-430f-b997-ea16eb9f498c"
)]
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Revision
//
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[
assembly
:
AssemblyVersion
(
"1.0.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.0.0.0"
)]
07Sprachausgabe/07Sprachausgabe.csproj
0 → 100644
View file @
589624b1
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"15.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Import
Project=
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition=
"Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
<PropertyGroup>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProjectGuid>
{BA623A29-59F9-44F9-A783-514A0CD87B14}
</ProjectGuid>
<OutputType>
Exe
</OutputType>
<RootNamespace>
_07Sprachausgabe
</RootNamespace>
<AssemblyName>
07Sprachausgabe
</AssemblyName>
<TargetFrameworkVersion>
v4.6.1
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<AutoGenerateBindingRedirects>
true
</AutoGenerateBindingRedirects>
<Deterministic>
true
</Deterministic>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugSymbols>
true
</DebugSymbols>
<DebugType>
full
</DebugType>
<Optimize>
false
</Optimize>
<OutputPath>
bin\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugType>
pdbonly
</DebugType>
<Optimize>
true
</Optimize>
<OutputPath>
bin\Release\
</OutputPath>
<DefineConstants>
TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Speech"
/>
<Reference
Include=
"System.Xml.Linq"
/>
<Reference
Include=
"System.Data.DataSetExtensions"
/>
<Reference
Include=
"Microsoft.CSharp"
/>
<Reference
Include=
"System.Data"
/>
<Reference
Include=
"System.Net.Http"
/>
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"Program.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"App.config"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
</Project>
\ No newline at end of file