¡@

Home 

c# Programming Glossary: shallow

Deciding on when to use XmlDocument vs XmlReader

http://stackoverflow.com/questions/1505075/deciding-on-when-to-use-xmldocument-vs-xmlreader

applies to a lot of objects at a single level i.e. wide shallow but I wonder how well XmlReader fares when the XML is deep wide..

Difference between the System.Array.CopyTo() and System.Array.Clone()

http://stackoverflow.com/questions/198496/difference-between-the-system-array-copyto-and-system-array-clone

this question The Clone method returns a new array a shallow copy object containing all the elements in the original array... the elements into another existing array. Both perform a shallow copy. A shallow copy means the contents each array element contains.. another existing array. Both perform a shallow copy. A shallow copy means the contents each array element contains references..

Calling generic method with a type argument known only at execution time

http://stackoverflow.com/questions/325156/calling-generic-method-with-a-type-argument-known-only-at-execution-time

So the question is How how do I do it. I have very shallow knowledge of reflection. So code examples would be great. The..

Deep copy of List<T>

http://stackoverflow.com/questions/4226747/deep-copy-of-listt

but it seems that the underneath List double is being shallow copied instead of deep copied. When I get the subset again using..

Lock (Monitor) internal implementation in .NET

http://stackoverflow.com/questions/5111779/lock-monitor-internal-implementation-in-net

synchronization primitives . Instead of just building a shallow and incorrect wrapper over the Win32 primitives the .NET CV..

How to copy value from class X to class Y with the same property name in c#?

http://stackoverflow.com/questions/531505/how-to-copy-value-from-class-x-to-class-y-with-the-same-property-name-in-c

new CourseDTO Key course.Key edit only applies to shallow copies not lists Reflection is an option but slow. In 3.5 you..

Why no ICloneable<T>?

http://stackoverflow.com/questions/536349/why-no-icloneablet

it does not specify whether the result is a deep or a shallow copy. I think this is why they do not improve this interface...

Copy object to object (with Automapper ?)

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

as the one person2 references. That is you will get a shallow copy . This applies recursively to all members so you better.. doesn't have mappings for member classes that you want to shallow copy. An alternative to using AutoMapper would be to use an.. using reflection . Note that the code in the link does a shallow copy Support for filling an existing object instead of AutoMapper..

Why should I implement ICloneable in c#?

http://stackoverflow.com/questions/699210/why-should-i-implement-icloneable-in-c

the interface whether your Clone method performs a deep or shallow clone. See this blog post from Brad Abrams back in 2003 for..

Is there a much better way to create deep and shallow clones in C#?

http://stackoverflow.com/questions/8025890/is-there-a-much-better-way-to-create-deep-and-shallow-clones-in-c

there a much better way to create deep and shallow clones in C# I have been creating object for a project and.. I would have to write a function like the code below for a shallow copy..Can someone please help me improve this part and give.. someone please help me improve this part and give me a shallow copy that is better than the second line of code. thanks SHALLOW..

MVC Razor view nested foreach's model

http://stackoverflow.com/questions/8894442/mvc-razor-view-nested-foreachs-model

helper generates the name for your expression it will be shallow. It will only generate based on the expression it's given not..

Apply properties values from one object to another of the same type automatically?

http://stackoverflow.com/questions/930433/apply-properties-values-from-one-object-to-another-of-the-same-type-automaticall

the types are the same that's more likely to work It's a shallow copy btw. Let me know if you'd be interested in me extending..

C# arrays , Getting a sub-array from an existing array

http://stackoverflow.com/questions/943635/c-sharp-arrays-getting-a-sub-array-from-an-existing-array

below I also would like to ask whether Array.copy does a shallow copy or if it uses something else to do the copying like clone..