I have a question. Is this possible and valid if I have an object with the DoSomething () method, if I create several threads for this method, will it work and will it work as a separate thread?
eg.
public class SomeClass { public void DoSomething() {
I hope this explains what I mean. Will this work or cause any problems?
I am writing a program that should be almost real-time, currently I am deciding whether it is better to initialize a new instance of SomeClass or not?
Hope someone can answer. If my question does not make sense, please comment and I will explain further!
Thanks,
Base33
PS The code was written specifically for example :)
source share