title: how i can solve this error thread with bool method in c#
body: <p>this code in my Windows service project  give me Compile error
  <strong>Expected a method with void InitializeBridge signature</strong> </p>
  
  <pre><code>      static void Main(string[] args)
        {
              if (args != null &amp;&amp; args.Length == 1 &amp;&amp; args[0].StartsWith("-c"))
              {
                   BridgeService bridgeService = new BridgeService();
  
                   if (Vytru.Platform.Bridge.Configuration.LicenseValidetor.ValidCountAndTypeDevices())
                   {
                        Console.WriteLine("Bridge Service Is Started ......");
  
                        var daemonThread = new Thread(SharedData.InitializeBridge);
                        daemonThread.Start();
                   }
                   else
                   {
                        Console.WriteLine("Bridge Service License is not Valid ...");
                   }
              }
              else
              {
                   ServiceBase[] ServicesToRun;
                   ServicesToRun = new ServiceBase[] 
                    { 
                        new BridgeService() 
                    };
                   ServiceBase.Run(ServicesToRun);
              }
        }
  </code></pre>
  
  <p>and this is my static method <code>InitializeBridge</code>..</p>
  
  <pre><code>      public static bool InitializeBridge()
        {
              return DeviceList.All(CreateBridgeConnection);
  
        }
  </code></pre>