Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Last active July 15, 2020 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcomartin/5b35f39cb352f20fb1eeba72ac99d107 to your computer and use it in GitHub Desktop.
Save dcomartin/5b35f39cb352f20fb1eeba72ac99d107 to your computer and use it in GitHub Desktop.
public class ClassC
{
private string? _state;
public async Task<int> NotThreadSafe(string state)
{
_state = state;
return _state.Length;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment