¡@

Home 

c# Programming Glossary: person1

Reference type in C#

http://stackoverflow.com/questions/18229463/reference-type-in-c-sharp

class Program private static void Main string args var person1 new Person Name Test Console.WriteLine person1.Name Person person2.. args var person1 new Person Name Test Console.WriteLine person1.Name Person person2 person1 person2.Name Shahrooz Console.WriteLine.. Name Test Console.WriteLine person1.Name Person person2 person1 person2.Name Shahrooz Console.WriteLine person1.Name Output..

Copy object to object (with Automapper ?)

http://stackoverflow.com/questions/5713556/copy-object-to-object-with-automapper

string LastName get set I have two instances of Person person1 and person2 . I'd like copy the contents of person2 to person1... and person2 . I'd like copy the contents of person2 to person1. I'd like to make this copy in one instruction and not property.. this copy in one instruction and not property by property person1.LastName person2.LastName In the doc I see copy an object to..