Dany's Blog

Wednesday, August 14, 2024

C# ToString()[i]

 Carefull about object.ToString()[i]: the output is char type. If you Convert that value to int, you will get chars representation in int. To get the value of the char, the simple way is to convert it to string:

  • .ToString()[i].ToString();
Posted by Tips4IT at 12:08 No comments:
Labels: C#, char, convertions, Programming, TosString
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Projects

  • genDocs
  • SVG Viewer for PDAs
  • Visual TLA

Blog Archive

  • ▼  2024 (1)
    • ▼  August (1)
      • C# ToString()[i]
  • ►  2015 (1)
    • ►  January (1)
  • ►  2014 (2)
    • ►  December (1)
    • ►  October (1)
  • ►  2013 (1)
    • ►  July (1)
  • ►  2012 (4)
    • ►  October (1)
    • ►  July (1)
    • ►  March (2)
  • ►  2011 (4)
    • ►  October (2)
    • ►  June (1)
    • ►  January (1)
  • ►  2010 (1)
    • ►  March (1)
  • ►  2009 (5)
    • ►  December (1)
    • ►  September (2)
    • ►  April (1)
    • ►  February (1)
  • ►  2008 (2)
    • ►  October (2)
  • ►  2007 (10)
    • ►  October (1)
    • ►  June (3)
    • ►  May (2)
    • ►  April (2)
    • ►  March (2)

Links

  • SVG Tutorials
  • Windows Mobile 6.0
  • Database Normalization

About Me

Tips4IT
View my complete profile
Awesome Inc. theme. Powered by Blogger.