diff --git a/VAR.Toolbox/Code/Logger.cs b/VAR.Toolbox/Code/Logger.cs
index 809bfa9..71822ba 100644
--- a/VAR.Toolbox/Code/Logger.cs
+++ b/VAR.Toolbox/Code/Logger.cs
@@ -57,14 +57,14 @@ namespace VAR.Toolbox.Code
/// Logea el marcador
///
/// The text.
- public static void Marker(String text)
+ public static void Marker(string text)
{
try
{
StreamWriter outStream = GetOutputStreamWritter();
WriteLine(outStream, string.Empty);
- WriteLine(outStream, String.Format("---------------------------- {0} -----------------------", text));
- WriteLine(outStream, String.Format("\\- Date: {0}", DateTime.UtcNow.ToString("s")));
+ WriteLine(outStream, string.Format("---------------------------- {0} -----------------------", text));
+ WriteLine(outStream, string.Format("\\- Date: {0}", DateTime.UtcNow.ToString("s")));
WriteLine(outStream, string.Empty);
CloseOutputStreamWritter(outStream);
}
@@ -75,12 +75,12 @@ namespace VAR.Toolbox.Code
/// Logea el texto especificado
///
/// The text.
- public static void Log(String text)
+ public static void Log(string text)
{
try
{
StreamWriter outStream = GetOutputStreamWritter();
- WriteLine(outStream, String.Format("{0} -- {1}", DateTime.UtcNow.ToString("s"), text));
+ WriteLine(outStream, string.Format("{0} -- {1}", DateTime.UtcNow.ToString("s"), text));
CloseOutputStreamWritter(outStream);
}
catch (Exception) { /* Nom Nom Nom */}
@@ -97,14 +97,14 @@ namespace VAR.Toolbox.Code
{
StreamWriter outStream = GetOutputStreamWritter();
WriteLine(outStream, string.Empty);
- WriteLine(outStream, String.Format("!!!!!!!!!!!!!!!!!!!!!!!!!!!! {0} !!!!!!!!!!!!!!!!!!!!!!!", "Exception"));
- WriteLine(outStream, String.Format("\\- Date: {0}", DateTime.UtcNow.ToString("s")));
+ WriteLine(outStream, string.Format("!!!!!!!!!!!!!!!!!!!!!!!!!!!! {0} !!!!!!!!!!!!!!!!!!!!!!!", "Exception"));
+ WriteLine(outStream, string.Format("\\- Date: {0}", DateTime.UtcNow.ToString("s")));
WriteLine(outStream, string.Empty);
Exception exAux = ex;
while (exAux != null)
{
- WriteLine(outStream, String.Format("Message: {0}", exAux.Message));
- WriteLine(outStream, String.Format("Stacktrace: {0}", exAux.StackTrace));
+ WriteLine(outStream, string.Format("Message: {0}", exAux.Message));
+ WriteLine(outStream, string.Format("Stacktrace: {0}", exAux.StackTrace));
exAux = exAux.InnerException;
}
CloseOutputStreamWritter(outStream);
diff --git a/VAR.Toolbox/Code/Webcam.cs b/VAR.Toolbox/Code/Webcam.cs
index df92a62..b9462b4 100644
--- a/VAR.Toolbox/Code/Webcam.cs
+++ b/VAR.Toolbox/Code/Webcam.cs
@@ -162,8 +162,8 @@ namespace VAR.Toolbox.Code
break;
// Add device description
- string deviceName = new String(GetMonikerName(devMoniker[0]).ToCharArray());
- string deviceString = new String(GetMonikerString(devMoniker[0]).ToCharArray());
+ string deviceName = new string(GetMonikerName(devMoniker[0]).ToCharArray());
+ string deviceString = new string(GetMonikerString(devMoniker[0]).ToCharArray());
devices.Add(deviceName, deviceString);
// Release COM object
diff --git a/VAR.Toolbox/UI/FrmTestWebService.cs b/VAR.Toolbox/UI/FrmTestWebService.cs
index 2cb2977..185a5fd 100644
--- a/VAR.Toolbox/UI/FrmTestWebService.cs
+++ b/VAR.Toolbox/UI/FrmTestWebService.cs
@@ -193,7 +193,7 @@ namespace VAR.Toolbox.UI
{
if (xmlReader.NodeType == XmlNodeType.Element)
{
- String name = xmlReader.Name;
+ string name = xmlReader.Name;
if (name.Contains(":"))
{
name = name.Split(':')[1];
diff --git a/VAR.Toolbox/UI/PnlCover.cs b/VAR.Toolbox/UI/PnlCover.cs
index 16a3cae..07c5cf4 100644
--- a/VAR.Toolbox/UI/PnlCover.cs
+++ b/VAR.Toolbox/UI/PnlCover.cs
@@ -18,7 +18,7 @@ namespace VAR.Toolbox.UI
bool userInactive = false;
uint inactiveTime = Win32.GetLastInputTime();
- lblInactive.Text = String.Format("Inactive by {0} seconds", inactiveTime);
+ lblInactive.Text = string.Format("Inactive by {0} seconds", inactiveTime);
if (chkAutoCover.Checked)
{