Is there a way to have a custom class behave like one of the built-in classes in the .Net environment?
For example, the string class can be givin a value directly as in:
strString = "My string value here"
How can I do that same thing, but with a custom class I create, without having to reference the property directly? This would also give me the benefit of doing comparisons between two custom classes of the same type.
________________________
Ben Santiago, MCP & A+
Programmer Analyst (SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS)
Eastern Suffolk BOCES - Student Data Services
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
-Rich Cook