P Narasimha
C#.net Will Supports Copy Constructor or Not?
By P Narasimha in ASP.NET on Dec 08 2008
  • Ravi BS
    Dec, 2008 9

    Yes , C#  will support Copy Constructor.100 %.

    Ex: obj1 a=new obj1(XYZ);

        obj2 b=new obj2(a);

     

    • 0
  • Tarun
    Dec, 2008 8

    Unlike C++ languages, C# does not provide a copy constructor. If you create a new object and want to copy the values from an existing object, you have to write the appropriate method yourself.

    • 0
  • P Narasimha
    Dec, 2008 8

    Hi,

    In c#.net is Support the Copy Constructo or not?

    Thanks,

    narasima

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS