This is part of a question concerning C# that is was trying to post on Stack Overflow. The code part is from Microsoft. (I assume they know how to format their code.) However, Stack Overflow says it's formatted incorrectly.
What is wrong with this?
C# syntaxFunc in c# attributeC# corner
I'm pretty sure they're not indexers, what does the syntax in the square brackets represent?
[FunctionName("orderProcessor")]public static void Run( [ServiceBusTrigger("ordersTopic)] string myQueueItem, [Blob("orders/{id}",FileAccess.Write] Stream order, ILogger log ){ ...}
This is the error message I'm getting:
Your post appears to contain code that is not properly formatted ascode. Please indent all code by 4 spaces using the code toolbar buttonor the CTRL+K keyboard shortcut. For more editing help, click the [?]toolbar icon.