Structs in C# .Net (dotnet)
Definition In C#, a struct (short for structure) is a value type used to encapsulate related data and behavior into…
Nice tools for linux otel and monitoring
Monitoring PostgreSQL services with Prometheus and Grafana involves using a PostgreSQL Exporter to expose metrics, configuring Prometheus to scrape these…
Access modifiers official documentation links
Virtual: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/virtual static https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/static
Delegates: Func and Action in C# .Net Dotnet
Func and Action in C# Func and Action are generic delegates provided by .NET to simplify delegate usage. They save…
Events in C# .Net
Events in C# are a powerful mechanism for implementing the observer pattern, enabling a class (publisher) to notify other classes…
How to limit the number of items using ToList() in C# Dotnet?
If you want to limit the number of items returned in the result set when using ToList(), you can use…
BaseClass Command class in a MVVM-like App using delegates example/explanation
This code defines a class named PopupCommand that implements the ICommand interface. The ICommand interface is commonly used in WPF…
ObservableCollection in dotnet
Definition: ObservableCollection<T> is a class in the .NET Framework that provides a dynamic data collection that provides notifications when items…