Description: This sample demonstrates a clonable object that implements the IClone interface. This sample supplements the "Implement cloning" topic (refer to the "See Also" link at the bottom of this sample). This sample creates an instance of a user-defined clonable object that has managed and unmanaged class members, then the test application clones the object, and reports the values of class members from original and cloned objects in a console window.
How to use
To Search:
File list (Check if you may need any files):
ClonableObject\CSharp\ClonableObjClass.cs
..............\......\ClonableObject2008.csproj
..............\......\ClonableObject2008.sln
..............\......\ClonableObject2010.csproj
..............\......\ClonableObject2010.sln
..............\......\Properties\AssemblyInfo.cs
..............\......\TestApp\LicenseInitializer.cs
..............\......\.......\LicenseInitializer.Designer.cs
..............\......\.......\Program.cs
..............\......\.......\...perties\AssemblyInfo.cs
..............\......\.......\TestApp2008.csproj
..............\......\.......\TestApp2010.csproj
..............\......\.......\TestClass.cs
..............\ReadMe.htm
..............\VBNet\ClonableObjClass.vb
..............\.....\ClonableObject2008.sln
..............\.....\ClonableObject2008.vbproj
..............\.....\ClonableObject2010.sln
..............\.....\ClonableObject2010.vbproj
..............\.....\Properties\AssemblyInfo.vb
..............\.....\TestApp\LicenseInitializer.Designer.vb
..............\.....\.......\LicenseInitializer.vb
..............\.....\.......\Program.vb
..............\.....\.......\...perties\AssemblyInfo.vb
..............\.....\.......\TestApp2008.vbproj
..............\.....\.......\TestApp2010.vbproj
..............\.....\.......\TestClass.vb
..............\CSharp\TestApp\Properties
..............\VBNet\TestApp\Properties
..............\CSharp\Properties
..............\......\TestApp
..............\VBNet\Properties
..............\.....\TestApp
..............\CSharp
..............\VBNet
ClonableObject