J
Joe Cool
I am working on converting a program I originally wrote in VB.NET to
C#.NET. One thing it needs to do is to take a string variable and
remove any characters that are not numeric or alpha (either lower or
upper). WIth VB.NET this was easy since VB.NET has an Asc function.
But C#.NET doesn't. I would prefer to leave this app as 100% C#.NET,
no VB.NET class library, and no usage of the Microsoft.VisualBasic
namespace.
And suggestions on how to accomplish this?
C#.NET. One thing it needs to do is to take a string variable and
remove any characters that are not numeric or alpha (either lower or
upper). WIth VB.NET this was easy since VB.NET has an Asc function.
But C#.NET doesn't. I would prefer to leave this app as 100% C#.NET,
no VB.NET class library, and no usage of the Microsoft.VisualBasic
namespace.
And suggestions on how to accomplish this?