We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e534f8e + f3dddc9 commit aed199dCopy full SHA for aed199d
BarcodeStandard/BarcodeCommon.cs
@@ -1,6 +1,5 @@
1
using System;
2
using System.Collections.Generic;
3
-using System.Linq;
4
5
namespace BarcodeStandard
6
{
@@ -17,15 +16,14 @@ protected void Error(string errorMessage)
17
16
18
internal static bool CheckNumericOnly(string data)
19
20
- char c;
21
- for (int i = 0; i < data.Length; i++)
+ foreach (var c in data)
22
23
- c = data[i];
24
if (c < '0' && c > '9') return false;
25
}
+
26
return true;
27
28
-
29
internal static int GetAlignmentShiftAdjustment(Barcode barcode)
30
31
switch (barcode.Alignment)
0 commit comments