Categories
csharp

Difference between property and field in C#

In C# different between fields and property of class, explained with example.

Categories
csharp

How to check current user role is admin

CSharp example to check current user is admin or not using dotnet framework classes.