I have a static class. 

```
static class AppDirectory
{

    public static string PACSTEMP = Path.Combine(Path.GetTempPath() ,"PacsTemp");//@"C:\MyTemp";

    public static string ImageTempDirectory = Path.Combine(Path.GetTempPath(), "ImageRetrieveTemp");//@"C:\ImageRetrieveTemp\";

    static AppDirectory()
    {

        if (Directory.Exists(PACSTEMP))
            Directory.Delete(PACSTEMP);

        if (Directory.Exists(ImageTempDirectory))
            Directory.Delete(ImageTempDirectory);

        Directory.CreateDirectory(PACSTEMP);
        Directory.CreateDirectory(ImageTempDirectory);
    }
}

```

It is a static class and have one static constructor. When I tried to use PACSTEMP and ImageTempDirectory variables, It is showing Type Initialization error. I Understand that it is because, AppDirectory is not initialized. 

Could you please help me, how to initialize these kind of classes. or have I missed rules of OOPs.

Thank you