C#: Do I need to lock a static class when accessing from separate threads?
- by JimDaniel
I have a static class with a few methods that just take in a byte array, parses it, and returns a structure. I need to call these methods from many separate threads. Do I need a lock() or some kind of thread-safety within the methods? I can't get my head around it.