The string interpolation feature is built on top of the composite formatting feature and provides a more readable and convenient syntax to include formatted expression results in a result string. – see documentation webpage. In this tutorial, I will show you how can use this feature. First, let’s see the… Continue Reading C# – First steps with C# and .NET – part 044.

In this tutorial, I will show you a C # source code that he uses FileStream and StreamWriter to write to the file. A Stream for a file, supporting both synchronous and asynchronous read and write operations. A TextWriter is used for writing characters to a stream in a particular… Continue Reading C# – First steps with C# and .NET – part 043.

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… Continue Reading C# – First steps with C# and .NET – part 042.

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… Continue Reading C# – First steps with C# and .NET – part 041.

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

In this tutorial, I showed the first steps with C # and Avalonia. Today I will show you how to change the formula. For example, a simple button can be integrated into the application with the following mechanism. The XAML uses an Avalonia {Binding} to bind the Button’s Content property… Continue Reading C# – First steps with C# and .NET – part 039.

I used the dotnetfiddle.net online tool to test with the C# programming language. The test is about the ref and out keywords and how these works. First, the ref keyword indicates that a value is passed by reference. It is used in four different contexts, see the documentation. The out… Continue Reading C# – First steps with C# and .NET – part 038.

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),… Continue Reading C# – First steps with C# and .NET – part 037.

Translate »