Hi everyone! I'm usually pretty good at googling to find the information I need, but I am COMPLETELY stuck on this one! Any help would be greatly appreciated.
Here's what I'm trying to accomplish: I want a user-defined type (structure or class) for a phone number in either VB.NET, C++ or C# (preferably VB). I want it to work like most VB.NET types. For example:
Private x As String = "Test"
Private y As Phone = "6315551212"
How can I accomplish this? Any help would be greatly appreciated!
Here's what I'm trying to accomplish: I want a user-defined type (structure or class) for a phone number in either VB.NET, C++ or C# (preferably VB). I want it to work like most VB.NET types. For example:
Private x As String = "Test"
Private y As Phone = "6315551212"
How can I accomplish this? Any help would be greatly appreciated!