[Modify] Polish it

This commit is contained in:
sta
2015-11-28 15:52:44 +09:00
parent b1b728eefd
commit 83aa8c9460
4 changed files with 33 additions and 30 deletions

View File

@@ -24,9 +24,7 @@ namespace Example3
private string getName ()
{
var name = Context.QueryString["name"];
return !name.IsNullOrEmpty ()
? name
: (_prefix + getNumber ());
return !name.IsNullOrEmpty () ? name : _prefix + getNumber ();
}
private static int getNumber ()