LINQ // Skip and Take
Skip
and Take
are used for pagination or limit the number of elements returned by a query.
Since C# 8 you can use Take
with a Range
. Let's see some examples.
Skip
and Take
are used for pagination or limit the number of elements returned by a query.
Since C# 8 you can use Take
with a Range
. Let's see some examples.
This blog post contains a mind map of language features starting from C# 1 up til now - including some of the new C# 12 features that will be released in November 2023.
Abstraction and Encapsulation are two fundamental concepts in object-oriented programming. So let us have a small look what the difference is between those two.
This article will explain design patterns, which we use on a daily base, with smaller (over)simplified illustrations.
This edition has the following infographics:
DebuggerDisplayAttribute
ExceptionDispatchInfo
implicit
and explicit
operatorThis edition has the following infographics:
ConfigureAwait
on IAsyncDisposable
foreach
struct
null
for a Task
In this small blog post we will have a look at how HTTPS works. Well, we will look how the cryptographic part works a bit more in detail.
The focus is on the Diffie Hellman Key algorithm, an asymmetric key exchange.
Sometimes I publish parts of my infographics I publish on various channels with more explanation.
And then sometimes I don't. This time I just put some of my (hopefully self-explanatory) infographics here.
Pattern matching, which was introduced in C# 9, is a hell of a beast and does more than you might think.
In this small blog post I show you where the magic is and what it does under the hood.
Pagination is a technique to load only smaller chunks of data you make visible to the user. Look at Google web search. You only have a certain amount of shown results even though there are millions. So Google has pages (like in a book) where you can go forth and back.
This has multiple advantages: First from a UX point of view you only show a reasonable amount of data to your user. The second benefit is for your API / DB as it only has to load a small page instead of the whole book.