Last post Jan 21, 2018 06:23 PM by anas
Jan 21, 2018 05:52 PM|Puspa@007|LINK
Jan 21, 2018 06:23 PM|anas|LINK
This is an OOP fundamentals and supported by any OOP language. What you need to do is to create a constructor that accepts the same type of the class and set the private class fields inside the constructor with the values from the passed object to the constructor.
see here a guide from MS