Skip to content

Commit 0877a8e

Browse files
committed
Adding NumericUtility.cs
1 parent edcf8d7 commit 0877a8e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/Resource/NumericUtility.cs

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace Cybersource_rest_samples_dotnet.Resource
8+
{
9+
public class NumericUtility
10+
{
11+
public static string LongRandom(int min, int max)
12+
{
13+
Random generator = new Random();
14+
string r = generator.Next(min, max).ToString("D8");
15+
return r;
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)