application variable in asp.net core

C#
https://stackoverflow.com/questions/48647870/application-variables-in-asp-net-core-2-0https://www.youtube.com/watch?v=x8jNX1nb_og
Source

Also in C#: