By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,137 Members | 1,273 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,137 IT Pros & Developers. It's quick & easy.

What is the difference between "Me" and "this" in C#?

P: n/a
Ray
Hello,

Please help a VB newbie :) I'm a bit confused, reading all the
MyClass, Me, My keywords of VB. I think I get MyClass and My, but
Me... Can you just tell me if I get this correctly?

"Me" in VB (6, 7, 2005) is exactly like "this" in C# or C++. Its
meaning hasn't changed since VB 6. True or False?

Many thanks,
Ray

Mar 2 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Ray" <ra********@yahoo.comschrieb:
Please help a VB newbie :) I'm a bit confused, reading all the
MyClass, Me, My keywords of VB. I think I get MyClass and My, but
Me... Can you just tell me if I get this correctly?

"Me" in VB (6, 7, 2005) is exactly like "this" in C# or C++. Its
meaning hasn't changed since VB 6. True or False?
True.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Mar 2 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.