Runtime/Libraries/CSharp/Utilities/CodeBuilder.cs
/// <summary>
/// Creates a series of using statements for namespace access.
/// </summary>
Creates a series of using statements for namespace access.
Creates a series of using statements for namespace access .
public static string Using(string[] namespaces)
        {
            var output = string.Empty;
            for (int i = 0; i < namespaces.Length; i++)
            {
                output += "using ".ConstructHighlight() + namespaces[i] + ";" + (i < namespaces.Length - 1 ? "\n" : string.Empty);
            }
            return output;
        }
public static string Using ( string [ ] namespaces ) { var output = string . Empty ; for ( int i = 0 ; i < namespaces . Length ; i ++ ) { output += " " . ConstructHighlight ( ) + namespaces [ i ] + " " + ( i < namespaces . Length - 1 ? " \n " : string . Empty ) ; } return output ; }
Creates a series of using statements for namespace access.
Creates a series of using statements for namespace access .
namespaces
string[]