Use "string" instead of "String"

This commit is contained in:
2017-02-15 07:21:26 +01:00
parent c223951fda
commit d6a19bdf27
7 changed files with 23 additions and 21 deletions

View File

@@ -67,7 +67,7 @@ namespace VAR.Focus.Web.Controls
CssClass = CssClassBase;
if (string.IsNullOrEmpty(_cssClassExtra) == false)
{
CssClass = String.Format("{0} {1}", CssClassBase, _cssClassExtra);
CssClass = string.Format("{0} {1}", CssClassBase, _cssClassExtra);
}
if (Page.IsPostBack && (_allowEmpty == false && IsEmpty()) || _markedInvalid)
{
@@ -82,7 +82,7 @@ namespace VAR.Focus.Web.Controls
if (_nextFocusOnEnter != null)
{
this.Attributes.Add("onkeydown", String.Format(
this.Attributes.Add("onkeydown", string.Format(
"if(event.keyCode==13){{document.getElementById('{0}').focus(); return false;}}",
_nextFocusOnEnter.ClientID));
}