Extension methods enable you to “add” methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type. Extension methods are static methods, but they’re called as if they were instance methods on the extended type. see the official website. Let’s see one simple example:… Continue Reading C# – First steps with C# and .NET – part 047.

The DeepAI API can be used our API to process images and videos to get data about the demographics of people present, faces detected, and nudity detected. You can even flag media that contains nudity so you can remove it … You can test it online with this online tool… Continue Reading C# – First steps with C# and .NET – part 046.

In this tutorial, I will show you how you can multiply two matrices using the C# programming language. The full source code in C# can be found on my account on dotnetfiddle online tool. This is the source code I used:

This is the output:

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.

Translate »