Check out example codes for "c# static class". It will help you in understanding the concepts better.
Code Example 1
class SimpleClass
{
// Static variable that must be initialized at run time.
static readonly long baseline;
// Static constructor is called at most one time, before any
// instance constructor is invoked or member is accessed.
static SimpleClass()
{
baseline = DateTime.Now.Ticks;
}
}
Code Example 2
static class Class_name
{
public static nameofdatamember;
}
Code Example 3
In general, static means “associated with the class, not an instance”.
// Search c# static review for more detail
Learn ReactJs, React Native from akashmittal.com