11 lines
178 B
C#
11 lines
178 B
C#
|
using System;
|
|||
|
namespace sharp.extensions
|
|||
|
{
|
|||
|
public static class CharExtensions
|
|||
|
{
|
|||
|
public static bool isDigit(this char ch){
|
|||
|
return ((ch >= '0') && (ch <= '9'));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|