c# intialize static variable from different class : I am doing this

    public static class IDs{
    
       public static string someID{ get; set; }
    
        static IDs(){
           log.info(someID);
               //use someID here
         }
    }
    
    pulic class otherClass{
         
         public otherMethod(string sym){
    
                   IDs.someID = sym;
                }
          }
    
    public class anotherClass{
               
                    //access instance of otherClass in wrp and call otherMethod()
                   wrp.otherMethod("someStringSymbol")
             }

I dont have any build errors but  `log.info(someID);` is printing `null` . I am expecting it to be `someStringSymbol`
