How to Implement Dependency Injection to WPF Application
Add the NuGet packages to the project Add Microsoft.Extensions.DependencyInjectionMicrosoft.Extensions.Hosting Add Microsoft.Extensions.Hosting Modify App.xaml.cs file
How to Measure execution time in C#
This Requires System.Diagnostics name space.This might need to be converted from milliseconds to other unit. 2. By using TimeSpan