VB.NET

Moderators: seancampbell
Number of threads: 4022
Number of posts: 10035

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Re: confusion with System.dll and mscorlib.dll Posted by ItsMeRanganath on 17 Jan 2013 at 9:33 PM
Hi Japher,
I have an simple answer to your second question. pardon me if am wrong.

you are concatenating a string and an integer. the integer will be casted to string in this case.
proof:

If we want to the result of the concatenating ( string + int ) in a variable, then the variable should be of string data type ( it cant be of int datatype ).

String s = "Record count";
int i = 10;
String Count = s + i; // correct
int Count = s + i; // error

Hope you understand. Correct me if am wrong.


Thread Tree
Japher confusion with System.dll and mscorlib.dll on 27 Jul 2004 at 9:21 AM
iwilld0it Re: confusion with System.dll and mscorlib.dll on 28 Jul 2004 at 7:17 AM
kainsworth Re: confusion with System.dll and mscorlib.dll on 28 Jul 2004 at 1:56 PM
ItsMeRanganath Re: confusion with System.dll and mscorlib.dll on 17 Jan 2013 at 9:33 PM
ItsMeRanganath Re: confusion with System.dll and mscorlib.dll on 17 Jan 2013 at 9:35 PM
ItsMeRanganath Re: confusion with System.dll and mscorlib.dll on 17 Jan 2013 at 9:38 PM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.