Skip to content

Commit

Permalink
Fixed a bug which caused a crash due to the entry of lower or higher …
Browse files Browse the repository at this point in the history
…capitals
  • Loading branch information
GLifeDE committed May 9, 2021
1 parent 9fd560c commit f26f1e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Durchschnittsrechner/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Program
{
static void Main(string[] args)
{
Console.Title = "Durchschnittsrechner V4.0";
Console.Title = "Durchschnittsrechner V4.0.1";

Program.Programm();

Expand Down Expand Up @@ -53,12 +53,12 @@ static void Programm()
Console.Write("Wie viele Hauptfächer gibt es?: ");
var temp = Console.ReadLine();

if (temp == "c")
if (temp == "c" || temp == "C")
{
Program.English();
return;
}
else if (temp == "a")
else if (temp == "a" || temp == "A")
{
Program.einreichnoten();
return;
Expand Down
4 changes: 2 additions & 2 deletions Durchschnittsrechner/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.0")]
[assembly: AssemblyFileVersion("4.0")]
[assembly: AssemblyVersion("4.0.1")]
[assembly: AssemblyFileVersion("4.0.1")]
[assembly: NeutralResourcesLanguage("de-DE")]

0 comments on commit f26f1e1

Please sign in to comment.