Skip to content

BeanGreen247/C-SHARP-Made-Easy

Repository files navigation

C# Made Easy

Code used in my C# tutorial series

https://www.youtube.com/playlist?list=PLL5t1QVuj4FwQREWQcobrLtytfCxDdt_3

Setup on Windows

Install dotNet framework https://dotnet.microsoft.com/download/dotnet-framework

Change directory to the framework location

cd C:\Windows\Microsoft.NET\Framework\v(version number here)

Compiling using csc.exe

csc.exe (path to source code file here)

To run the app just type in the name of the app

Example

testapp.exe

Setup on Linux

sudo apt install mono* -y

Compiling code while on Linux

mono-csc "file_name_here".cs

To run the app just type in mono and the name of the app

Example

mono testapp.exe