If I have a class called MyClass structured as follows:
VB Code:
Public Class MyClass Public Sub Property1 As String Public Sub Property2 As String Public Sub Property3 As String End Class
and i have 2 ways to fill those properties...
Way 1
Property1 = "Jim"
Property2 = "Jimmy"
Property3 = "Jimmers"
Way2
Property1 = "Tim"
Property2 = "Timmy"
Property3 = "Timothy"
How can I take an instance of my class (let's call it MyBigClass)... and instantiate it so that it's properties fall in line with either way 1 or way 2??? So that they are "automatically" filled???
Thanks,
Squirrelly1
