Home

Posts

C# Code Snippets Readonly

C# Readonly

In this code snippet, we will take a look at the readonly keyword in C#. Obviously, a variable/field marked as readonly can not be modified after it was set. However, readonly can…
C# Code Snippets Code Benchmarking

C# Code Benchmarking

In this code snippet, we’ll see how to benchmark C# code. Benchmarking can be useful to find out how well a certain piece of code is performing. We can look at…
C# Code Snippets Tuples

C# Tuples

In this code snippet, we will take a look at tuples in C#. Tuples allow you to quickly and easily create objects. You can for example use them as a variable…
C# Code Snippets Ranges

C# Ranges

In this code snippet, we will take a look at ranges in C#. Ranges give you a quick and easy syntax to get a range/interval of elements from a collection. For…
C# Code Snippets Boxing

C# Boxing

In this code snippet, we will take a look at boxing and unboxing in C#. Boxing happens when a value data type is converted to an object while unboxing is when…
C# Code Snippets Dynamic Keyword

C# Dynamic Keyword

Dynamic allows you to save any data type into a variable or pass any type into a method/return any type from a method…
C# Code Snippets DateTime

C# DateTime

In this code snippet, we will take a look at DateTime in C#. DateTime is used to represent dates and times in code. The DateTime class contains many useful methods to manipulate…
Attiny Arduino programming shiled

Programming The Attiny45 With An Arduino As ISP Programmer

In this post, I’ll show you how to program the Attiny microcontrollers via the Arduino IDE using an Arduino board as an ISP programmer…
ESP32 Web Camera

ESP32 WiFi Camera

In this post, I’ll show you how to program the ESP32 Camera board to live stream the video feed to your browser…

Advertisment ad adsense adlogger