This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Thing | |
{ | |
public int ThreadSafeMethod(string parameter1) | |
{ | |
int number; // each thread will have its own variable for number. | |
number = parameter1.Length; | |
return number; | |
} | |
} |