Answered cstr() in C#

  • Friday, April 21, 2006 2:37 PM
     
     

     

    i have a tutorial question from my lecturer that i really cant find any answer form elsewhere, can any one help me pls.......

    What is the diffentiate of Convert.ToString() and cstr() in C#

All Replies

  • Friday, April 21, 2006 2:53 PM
    Moderator
     
     Answered
    CStr is a VB.NET function and is not directly available in C#. But there is no difference, in C# you can use Convert.ToString.
  • Monday, February 14, 2011 6:29 PM
     
     

    That is correct. Great Explanation.

     

    Thanks