what c# has equal to my in vb2005?
-
hi every body i work in c# 2005 and have a question some of my friend that work in vb show something beautful in vb that is
My
i am a new user of c#2005 and work on c# 2003 before that so don't know anything about my . now i want to know is there any equal to my in c#2005 Regards Amir Jalaly -
hi every body i work in c# 2005 and have a question some of my friend that work in vb show something beautful in vb that is
My
i am a new user of c#2005 and work on c# 2003 before that so don't know anything about my . now i want to know is there any equal to my in c#2005 Regards Amir Jalaly -
this is the same as Me in VB. The My feature in VB is completly different. Read here to know more about it: http://blogs.msdn.com/danielfe/archive/2005/06/14/429092.aspx[^]
-
hi every body i work in c# 2005 and have a question some of my friend that work in vb show something beautful in vb that is
My
i am a new user of c#2005 and work on c# 2003 before that so don't know anything about my . now i want to know is there any equal to my in c#2005 Regards Amir JalalyAmir Jalaly wrote:
some of my friend that work in vb show something beautful in vb that is My
The
My
namespace is just a façade onto existing .NET Framework classes. There is nothing new of "beautiful" about it, in my opinion. It is just an extension of the over simplification of things in VB.NET that leads to a group of Me, My, Fisher Price developers. Façade classes, in my opinion, should be written in house for the purposes required by the application as they dictate how an application interacts with other classes. If you need to interact with framework classes in the same way on multiple occasions then great! Write a façade class for it. If the framework comes with façade classes built in then you are losing control somewhat because then the framework is dictating how you interact with other framework classes. They become black boxes that don't encourage the devloper to actually know what is goind on underneath and leads to problems when things go wrong. ColinMackay.net Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more? -
hi every body i work in c# 2005 and have a question some of my friend that work in vb show something beautful in vb that is
My
i am a new user of c#2005 and work on c# 2003 before that so don't know anything about my . now i want to know is there any equal to my in c#2005 Regards Amir Jalaly -
As I understand it you should be able to include the vb classes in a C# application and use My as much as you want.
this is not a class . as i read in msdn my is a special key word for vb2005 Regards Amir Jalaly
-
this is not a class . as i read in msdn my is a special key word for vb2005 Regards Amir Jalaly
Amir Jalaly wrote:
ForumC# Subject:Re: what c# has equal to my in vb2005? Sender:Amir Jalaly Date:1:42 9 Mar '06 this is not a class .
Of course it's a class. .NET 101: EVERYTHING IS A CLASS Add a reference to the Visual Basic dll in your project and then add the Microsoft.VisualBasic namespaces to your application that you need. You'll find all the My objects in there somewhere. For example, Computer and Audio are in the Devices namespace and User is in the ApplicationServices namespace.