I do not understand why do you want to create a static list inside this class, but I am sure there should be an important reason.
First of all, you should know when to use static keyword.
When you declare something with static keyword inside a class, you can access them directly from that particular class without creating objects.
public class Program
{
public static void Main()
{
KrepselisClass.KrepselisList.Add(new KrepselisClass());
}
}
public class KrepselisClass
{
public static List<KrepselisClass> KrepselisList = new List<KrepselisClass>();
}
As you can see above in my main method I have directly used the list without creating an object of KrepselisClass.
Since I do not understand what you are trying to do, this is all I tell.
This should solve most of your problem
Please refer these links to get a clear idea.
https://theburningmonk.com/2010/07/static-vs-non-static-method-in-csharp/
https://softwareengineering.stackexchange.com/questions/163457/understanding-the-static-keyword
https://www.sitesbay.com/java/java-static-keyword