Replace the codeblock command

This commit is contained in:
Knoch 2022-04-11 14:09:12 +02:00
parent a26138023c
commit 0a9086eb92
2 changed files with 4 additions and 7 deletions

View File

@ -12,6 +12,6 @@ C\# is an object-oriented programming language that was developed by Microsoft i
\begin{listing}[H]
\caption{A simple C\# program}
\label{lst:csharphelloworld}
\inputminted[breaklines,
linenos=true]{csharp}{exercises/references/HelloLateXFriends.cs}
\lstset{language=csharp}
\lstinputlisting{exercises/references/HelloLateXFriends.cs}
\end{listing}

View File

@ -8,8 +8,5 @@ C\# is an object-oriented programming language that was developed by Microsoft i
The following source code listing shows a program that prints the text \enquote{Hello LaTeX friends!} to the console. Like Java, C\# makes use of classes and main methods to build executable applications.
\codeblock{csharp}{exercises/references/HelloLateXFriends.cs}
\lstset{language=csharp}
\lstinputlisting{exercises/references/HelloLateXFriends.cs}