in

dotnet.org.za

South African .NET Developer Portal

The Bumpy Blog

Bumpy's Bedside Story

Browse by Tags

All Tags » Development Tips (RSS)
  • Serializing a Well-Known Class object to XML, to Deserialize later.

    If you ever worked on Mobile USSD , you will know that it works exactly like a web request. We have a USSD session manager application (sort of like IIS), because USSD also needs to keep sessions for each time the user comes back with a response. Every USSD service that we add have new requirements and thus normally have a new class to be added as a reference so that the Session manager are aware of the data type it should hold in its session data. This becomes a problem after a few services because...
    Posted Oct 06 2004, 04:10 PM by deonvs with | with 1 comment(s)
    Filed under:
  • IsNumeric in C#, WHY NOT?

    This is something that has bothered me for a long while now. Why doesn't C# have a IsNumeric(string num) function like VB.NET? I have used every kind of IsNumeric code you van think of... This is what I started with. public bool IsNumeric( string s) { try { Int32.Parse(s); } catch { return false ; } return true ; } But we all no the unspoken rule, NEVER use try, catch for functionality... So I tried this. internal static bool IsNumeric( string numberString) { char [] ca = numberString.ToCharArray...
Powered by Community Server (Commercial Edition), by Telligent Systems