title: Get the text of label in static method using C#?
body: <p>I have a static function in which i want to get the value OF LABEL1 </p>
  
  <pre><code>[WebMethod]
  public static string SetFileNameU(List&lt;string&gt; someValues)
  {
          string journey = Convert.ToString(someValues[0]);
          Label tbx = _________("Label1", true).FirstOrDefault() as Label;
  
          return "ss";
  }
  </code></pre>
  
  <p>Now what should I do there? Kindly tell me</p>