Skip to content

Instantly share code, notes, and snippets.

@thiagopnts
Created August 22, 2012 21:57
Show Gist options
  • Save thiagopnts/3429750 to your computer and use it in GitHub Desktop.
Save thiagopnts/3429750 to your computer and use it in GitHub Desktop.
[Test]
public void TestSharingViolation ()
{
while (true) {
File.WriteAllText("/tmp/teste.txt", "C#");
Thread.Sleep (TimeSpan.FromSeconds (1));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment