Refactored Example3

This commit is contained in:
sta
2014-01-04 03:15:21 +09:00
parent 2766978f75
commit 54be7d0168
3 changed files with 26 additions and 26 deletions

View File

@@ -27,7 +27,7 @@ namespace Example3
return Context.QueryString ["name"] ?? (_prefix + getNum ());
}
private int getNum ()
private static int getNum ()
{
return Interlocked.Increment (ref _num);
}