¡@

Home 

c# Programming Glossary: marc

How to get distinct instance from a list by Lambda or LINQ

http://stackoverflow.com/questions/1183403/how-to-get-distinct-instance-from-a-list-by-lambda-or-linq

linq .net 3.5 lambda share improve this question Both Marc 's and dahlbyk 's answers seems to work very well. I have a..

Convert string[] to int[] in one string of code using LINQ

http://stackoverflow.com/questions/1297231/convert-string-to-int-in-one-string-of-code-using-linq

int myInts Array.ConvertAll arr s int.Parse s Thanks to Marc Gravell for pointing out that the lambda can be omitted yielding..

How to use a WSDL

http://stackoverflow.com/questions/1302525/how-to-use-a-wsdl

Using IQueryable with Linq

http://stackoverflow.com/questions/1578778/using-iqueryable-with-linq

c# linq iqueryable share improve this question Marc Gravell's answer is very complete but I thought I'd add something..

What is the fastest way I can compare two equal-size bitmaps to determine whether they are identical?

http://stackoverflow.com/questions/2031217/what-is-the-fastest-way-i-can-compare-two-equal-size-bitmaps-to-determine-whethe

10 000 iterations each. Here are the results CompareByInts Marc Gravell 1107ms CompareByMD5 Skilldrick 4222ms CompareByMask.. GrayWizardX's answer even more of a boost CompareByInts Marc Gravell 944ms CompareByMD5 Skilldrick 4275ms CompareByMask GrayWizardX..

Copy values from one object to another

http://stackoverflow.com/questions/2624823/copy-values-from-one-object-to-another

c# share improve this question Jon Skeet and Marc Gravell have a library called MiscUtil . Inside MiscUtil.Reflection..

Some help understanding “yield”

http://stackoverflow.com/questions/317462/some-help-understanding-yield

IEnumerator SomethingApropriate thanks Jon and Marc for pointing out IEnumerator Example public IEnumerable AClass..

List of new features in C#2.0, 3.0 and 4.0 [closed]

http://stackoverflow.com/questions/3174942/list-of-new-features-in-c2-0-3-0-and-4-0

in C# 3 although partial types themselves were in C# 2. As Marc points out in the comments generic type inference received a..

Breaking out of a nested loop

http://stackoverflow.com/questions/324831/breaking-out-of-a-nested-loop

tvon sorry can't spell full username has a nice solution. Marc Nice use of anon methods and this too is great but because I..

Is F# really better than C# for math?

http://stackoverflow.com/questions/379722/is-f-really-better-than-c-sharp-for-math

a function generic . Also I think the following point from Marc Gravell isn't a valid objection From a maintenance angle I'm..

Re-entrant locks in C#

http://stackoverflow.com/questions/391913/re-entrant-locks-in-c-sharp

object ... is shorthand for using the Monitor class. As Marc points out Monitor allows re entrancy so repeated attempts to..

Generic C# Code and the Plus Operator

http://stackoverflow.com/questions/4039694/generic-c-sharp-code-and-the-plus-operator

I ended up using Expressions an approach outlined by Marc Gravell that I found by following links off of spinon's comment...

Fast and compact object serialization in .NET

http://stackoverflow.com/questions/549128/fast-and-compact-object-serialization-in-net

Best algorithm for evaluating a mathematical expression?

http://stackoverflow.com/questions/572796/best-algorithm-for-evaluating-a-mathematical-expression

but written in C# and building up an Expression like Marc suggests is another perfectly valid approach. The JIT compiled..

A reproducable example of volatile usage

http://stackoverflow.com/questions/6164466/a-reproducable-example-of-volatile-usage

the variable in a cpu register. Which is why the code that Marc linked is hanging. This will only happen with the current x86..

Deserialize unknown type with protobuf-net

http://stackoverflow.com/questions/675349/deserialize-unknown-type-with-protobuf-net

override UInt16 messageType get return 1 Fixed using Marc Gravell's suggestion. I removed the ProtoMember attribute from..

Getting path relative to the current working directory?

http://stackoverflow.com/questions/703281/getting-path-relative-to-the-current-working-directory

.Replace ' ' Path.DirectorySeparatorChar Apologies Marc for adding this. I prefer encapsulated examples and this may..

How to convert a String to its equivalent Expression Tree?

http://stackoverflow.com/questions/821365/how-to-convert-a-string-to-its-equivalent-expression-tree

and in this instance is TRUE. Many thanks to Marc Gravell. c# lambda antlr dsl predicate share improve this..

Which Collection Class to use: Hashtable or Dictionary?

http://stackoverflow.com/questions/1433713/which-collection-class-to-use-hashtable-or-dictionary

How to access a xml node with attributes and namespace using selectsinglenode()

http://stackoverflow.com/questions/1716287/how-to-access-a-xml-node-with-attributes-and-namespace-using-selectsinglenode

http www.loc.gov MARC21 slim http www.loc.gov standards marcxml schema MARC21slim.xsd controlfield tag 001 CKB02166 controlfield.. r.ResponseXmlDocument nsmgr.AddNamespace marc http www.loc.gov MARC21 slim string xpath marc record marc datafield.. marc http www.loc.gov MARC21 slim string xpath marc record marc datafield @tag '520' marc subfield @code 'a' .....