Fix a few

This commit is contained in:
sta 2014-01-04 02:42:03 +09:00
parent d45ad95299
commit 2766978f75

View File

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