title: Using C# how to express VBA "select case control.ID"
body: <p>In VBA, I use below code to control Ribbon xml,</p>
  
  <pre><code>Sub paragraphs_style(ByVal control As IRibbonControl)    
  Select Case control.ID
          Case "article_type" 
             xxxxxx
  End Select
  end sub
  </code></pre>
  
  <p>but in c#, how to express this?</p>