Tag Archives: C#

C# source code

C# – First steps with C# and .NET – part 042.

This online tool can help you to understand how C# source code works with the Just-In-Time compiler(JIT) and the Intermediate Language (IL) code generated by the C# compiler. If you switch to decompile to C# you can see more information about this simple example. This decompiles C#, compiles code, then decompiles the generated assembly as… Read More »

C# – First steps with C# and .NET – part 041.

Timer Class – Generates an event after a set interval, with an option to generate recurring events. This is easy to use, let’s see one simple example:

The result is this:

This : Fatal Error: Execution time limit was exceeded is a protected issue from This online tool comes with these restrictions: Currently… Read More »

C# – First steps with C# and .NET – part 040.

Here is a simple tutorial for those who want to use the file name or the source code line that is running.

C# – First steps with C# and .NET – part 037.

In this tutorial, I will show you how to install and work with Avalonia and Avalonia.Templates. First, about Avalonia: Avalonia is a WPF/UWP-inspired cross-platform XAML-based UI framework providing a flexible styling system and supporting a wide range of Operating Systems such as Windows (.NET Framework, .NET Core), Linux (via Xorg), MacOS and with experimental support… Read More »

C# – First steps with C# and .NET – part 036.

Opening Visual Code can be done simply with the command:

Opening Visual Studio does not always work with this command:

As a type and trick, the project file can be run directly on the command line:

C# – First steps with C# and .NET – part 035.

In this tutorial, I tested a collinear function for three points. I also recapitulated access to the method and class without using lambda expression with this calculation method. The example contains two classes. A class is simple for recapitulating knowledge and can be tested by commenting and uncommenting the source code. The other class calculates… Read More »