by: smith |
last post by:
I've been making deep copy clones of objects since my second week or so with
..Net (it took me the first week to realize that shallow copies were usually
worthless as "clones").
Normally I call my...
|
by: choyk1 |
last post by:
Hi all,
I cannot serialize CultureInfo property as below.
It invokes InvalidOperationException.
public class One
{
private CultureInfo culture;
|
by: hex |
last post by:
Hi
I make a class "MyClass" and this clas implements the Interface ICloneable.
I want when I instance an object from MyClass and I call obj.Clone() it
returns an object of MyClass type.
for...
|
by: Andy |
last post by:
Hello.
I've got an issue with the ICloneable interface that makes me think I'm
missing the advantages of it.
My issue is that the implemented Clone method returns an object and not
a strongly...
|
by: Don |
last post by:
Can anyone give me an example of implementing ICloneable to give a class I
created a "Clone" method so I can make copies of objects. I have no idea
where to begin with this. Thanks.
- Don
|
by: Daniel Klein |
last post by:
I think I've done my homework and checked around on Google Groups but this
seems to be a situation not yet covered.
Here is the scenario...
There are two classes, Foo and Bar (actually there...
|
by: Rain |
last post by:
Hi. Im a C# newbie, just want to ask how to implement the ICloneable.Clone..
Dont know how it works, would really appreciate it if someone could show a
simple source sample of how to do this.....
|
by: Nathan |
last post by:
I'm working with Clone() for the first time, and noticed that you have to
unbox the Clone of an object that implements ICloneable:
MyObject var1 = new MyObject(); // Where MyObject implements...
|
by: Steven Blair |
last post by:
I need to perform a Deep Copy on an ArrayList.
I wrote a small sample app to prove this could be done:
ArrayList a = new ArrayList();
ArrayList b = new ArrayList();
a.Add("Hello");
b =...
|
by: Stefan Hoffmann |
last post by:
hi,
the following implementations work:
public class NullSafeCollection: System.Collections.CollectionBase,
System.ICloneable
{
object System.IClonable.Clone()
{
NullSafeCollection clone =...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|