System.ICloneable Interface
Information   Base Types   Related Resources

Supports cloning, which creates a new instance of a class with the same value as an existing instance.

  • Namespace: System
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: mscorlib.dll

  • View this type on MSDN
  • View this type on WinFX 247
    Articles (13)Discussions (87)MembersRotorChanges
    Articles

    Page: 1
    A flexible line graph class library in C#
    The Code Project
    Looking for a way to draw 2D line graphs with C#? Here's yet another charting class library with a high degree of configurability but also easy to use.
    An Extensive Examination of Data Structures - Part 6: Efficiently Representing Sets
    MSDN
    Scott Mitchell discusses data structures for implementing general and disjoint sets.
    An Extensive Examination of Data Structures, Part 3: Binary Trees and BSTs
    MSDN
    Scott Mitchell delves into binary trees and BSTs, a common data structure not included in the .NET Framework Class Library.
    Array class and IEnumerator in C#
    C# Help
    This article illustrates the usage of Array class and IEnumerator in C#. Array class Provides methods for creating, manipulating, searching and sorting arrays, thereby serving as the base class for all arrays in the common language runtime.
    Array Types in .NET
    MSDN
    Arrays are mechanisms that allow you to treat several items as a single collection. The Microsoft® .NET Common Language Runtime (CLR) supports single-dimensional arrays, multidimensional arrays, and jagged arrays (arrays of arrays). All array types are implicitly derived from System.Array, which itself is derived from System.Object. This means that all arrays are always reference types which are allocated on the managed heap, and your app's variable contains a reference to the array and not the array itself.
    Creating Data Bound Controls
    C#Today
    In this article, Matthew Reynolds takes a look at how to build Windows Forms controls that support data binding. Youre probably already familiar with how to use data binding with Windows Forms controls supplied with the Framework, but what you may not be familiar with is how to create your own controls that have this functionality. This article will show you how.
    General Guidelines for C# Class Implementation
    The Code Project
    While implementing my first projects using C# I found out that there where several issues to take into account if I wanted my classes to behave correctly and make good friends with .NET. While this list is in no way complete, it contains the guidelines that I currently follow.
    Implementing the Prototype design Pattern
    .NET Xtreme
    In the example I have created an EmpData class that implements ICloneable and ISerializable interfaces, ICloneable interface is required to mark the class as Cloneable and Clone method is implemented. ISerializable interface is used to implement deep copy (clone) for an EmpData Class, the trick I have used it to serialize the EmpData in a file and Deserialize the file and create another EmpData object, that would copy the Emp objects rather then copying their references as Clone method does.
    Inside .NET Managed Providers
    MSDN
    When compared to full-fledged OLE DB providers, Microsoft .NET managed providers have a lot to offer. First off, they deliver a simplified data access architecture that often results in improved performance without the loss of functional capabilities. Furthermore, .NET managed providers directly expose provider-specific behavior to consumers through methods and properties. They also involve a much smaller set of interfaces than OLE DB providers. Last but not least, .NET managed providers work within the boundaries of the Common Language Runtime (CLR) and require no COM interaction. For SQL Server 7.0 and SQL Server 2000, the managed provider hooks up directly to the wire level, gaining a substantial performance advantage.
    Memberwise Clone Method
    .NET Xtreme
    By definition, memberwiseclone() method "creates a shallow copy of the current Object." A shallow copy of an Object is a copy of the Object only. If the Object contains references to other objects, the shallow copy will not create copies of the referred objects. It will refer to the original objects instead.
    Translation Guide: Moving Your Programs from Managed Extensions for C++ to C++/CLI
    MSDN
    Leverage C++/CLI, a dynamic programming paradigm extension to the ISO-C++ standard language, with this translation guide that maps V1 language features to V2.
    Type Conversions
    C# Corner
    Type conversion is a process of converting one type into another. Using C# type conversion techniques, not only you can convert data types, you can also convert object types.
    Wonders of Windows Forms: Extending Windows Forms with a Custom Validation Component Library, Part 2
    MSDN
    Michael Weinhardt continues his series on custom validation and examines form-wide validation using the FormValidator component.
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com