CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Please... convert String to Object.. Please...

    Please help...

    This must be so simple if anyone can help ...

    Example.. (this does not work)..

    try{ log[0][0]=(Object)Str; } catch(NullPointerException ne){}

    where log[0][0] is an Object[][]

    Thank you ...
    Very Much....


  2. #2
    Guest

    Re: Please... convert String to Object.. Please...

    I believe you just leave out the (Object) cast as a String already "is an" Object.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured