latex-skript/exercises/references/references.raw.tex
2025-11-17 22:10:28 +01:00

15 lines
614 B
TeX

% !TeX root = ../../main-exercises.tex
C\# is an object-oriented programming language that was developed by Microsoft in 2011. The figure displays the logo of the programming language.
\begin{figure}[H]
\centering
\includegraphics[width=2cm]{exercises/references/csharp.png}
\caption{The logo of C\#}
\end{figure}
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.
\lstset{language=csharp}
\lstinputlisting{exercises/references/HelloLateXFriends.cs}