title: Return multiple HtmlGenericControl
body: <p>I created a function in a class MyClass. This feature is intended to include stylesheets and js code:</p>
  
  <pre><code>Public Function myfunction() As HtmlGenericControl
          Dim bootstrapmin As New HtmlGenericControl("script")
          bootstrapmin.Attributes("href") = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js" 
          Return bootstrapmin
  End Function
  </code></pre>
  
  <p>So far everything is working, actually in the source code is included JavaScript code. My problem is: How can I make sure that Myfunction () includes multiple stylesheets/javascript code?</p>
  
  <p>This way does not work:</p>
  
  <pre><code>Public Function test3() As HtmlGenericControl
           Dim bootstrapmin As New HtmlGenericControl("script")
              bootstrapmin.Attributes("src") = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js" 
              Return bootstrapmin
  
       Dim bootstrap As New HtmlGenericControl("script")
              bootstrap.Attributes("src") = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.js"
              Return bootstrap
          End Function
  </code></pre>
  
  <p>THANK YOU</p>