how to return a static class method in c# code example

Example 1: c# static meaning

In general, static means “associated with the class, not an instance”.
// Search c# static review for more detail

Example 2: static class can have non static member in c#

Static class can't contain non-static members because by definition it can't be instantiated so there's no possibility to use these members. However, static members in non-static class can be used without having class instance - a bit different scenario,