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…
AddScoped in Program.cs Explained with example
This code is configuring dependency injection in a .NET application, specifically using the AddScoped method. Exaplanation: AddScoped Method: IProductService and…
Array of integers using the Array.from() method
This code is using the Array.from() method to generate an array of numbers from 1 to 5. When Array.from() is…
Angular pipe example
To obtain the gini.2019 value from an object in Angular using a pipe A custom pipe can be created to…
