title: How can I combine multiple similar methods into one that returns three results?
body: <p>I have two methods that are very similar:</p>
  
  <pre><code>    public static int GetSelectedThemeOf2()
      {
          return GetSelectedThemeOf4() &lt; 2 ? 0 : 1; 
      }
  
      public static bool IsLightModeSelected()
      {
          return GetSelectedThemeOf4() &lt; 2 ? true : false;
      }
  
      public static string GetSelectedMode()
      {
          return GetSelectedThemeOf4() &lt; 2 ? "Dark" : "Light";
      }
  </code></pre>
  
  <p>is there some way I could combine all three into one and then return either</p>
  
  <pre><code>    0, true, "Dark"
  </code></pre>
  
  <p>or </p>
  
  <pre><code>    1, false, "Light"
  </code></pre>