in C# whats the fastest way to get how many times "-" has appeared from the start of the string to a certain index? Provide your response in exactly 2 paragraphs (separated nearby paragraphs with 3 aterisk symbols ***).
user