Created
May 31, 2020 01:01
-
-
Save abhinavgalodha/cfa908e5d01565ffade5aa8089ec9469 to your computer and use it in GitHub Desktop.
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; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment