need to use date as a variable name RRS feed

  • Question

  • User1518051857 posted

     hi, i'm trying to use "date" as the name of my variable as i need to use it a parameter to some tweets API. so am wondering is there a way to declare date as a variable because in visual studio vb.net date is a class on its own and we cannot use it as a variable name.

    your help is greatly appreaciated

    thank in advance


    Sunday, February 6, 2011 11:09 PM


  • User-821857111 posted

    You cannot use keywords as variable names. That's the law. Change your variable name.


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 7, 2011 12:28 AM