change name off cs file

This commit is contained in:
Fradtschuk 2021-04-01 18:25:11 +02:00
parent 02b6aa5fc5
commit a9bc4c601b
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
public class HelloWorld {
public class HelloLaTeXFriends {
public static void Main() {
System.Console.WriteLine("Hello LaTeX friends!");
}

View File

@ -11,9 +11,9 @@ C\# ist eine objektorientierte Programmiersprache, die im Auftrag von Microsoft
\cref{lst:csharphelloworld} zeigt ein Programm, dass den Text \enquote{Hello LaTeX friends!} auf der Konsole ausgibt. Ähnlich wie bei Java, werden auch in C\# Klassen und eine Main-Methode verwendet, um eine ausführbare Anwendung zu bauen.
\begin{listing}[H]
\caption{Ein einfaches Hello-World-Programm in der Programmiersprache C\#}
\caption{Ein einfaches Programm in der Programmiersprache C\#}
\label{lst:csharphelloworld}
\inputminted[breaklines, linenos=true]{csharp}{exercises/references/HelloWorld.cs}
\inputminted[breaklines, linenos=true]{csharp}{exercises/references/HelloLateXFriends.cs}
\end{listing}
\end{minted}

View File

@ -8,7 +8,7 @@ C\# ist eine objektorientierte Programmiersprache, die im Auftrag von Microsoft
Das nachstehende Quelltext-Listing zeigt ein Programm, dass den Text \enquote{Hello LaTeX friends!} auf der Konsole ausgibt. Ähnlich wie bei Java, werden auch in C\# Klassen und eine Main-Methode verwendet, um eine ausführbare Anwendung zu bauen.
\inputminted[breaklines, linenos=true]{csharp}{exercises/references/HelloWorld.cs}
\inputminted[breaklines, linenos=true]{csharp}{exercises/references/HelloLateXFriends.cs}