+CharExtensions
parent
919a4205f4
commit
f2ea0ed0b6
|
@ -0,0 +1,10 @@
|
|||
using System;
|
||||
namespace sharp.extensions
|
||||
{
|
||||
public static class CharExtensions
|
||||
{
|
||||
public static bool isDigit(this char ch){
|
||||
return ((ch >= '0') && (ch <= '9'));
|
||||
}
|
||||
}
|
||||
}
|
|
@ -39,6 +39,7 @@
|
|||
<Compile Include="DataReader.cs" />
|
||||
<Compile Include="Tripple.cs" />
|
||||
<Compile Include="Tuple.cs" />
|
||||
<Compile Include="CharExtensions.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
Loading…
Reference in New Issue