CSharpFeeds - All your C# feeds in one place.

Tuesday, March 29, 2011

Compound Assignment, Part One

by Eric Lippert via Fabulous Adventures In Coding on 3/29/2011 1:24:00 PM

When people try to explain the compound assignment operators += –= *= /= %= <<= >>= &= |= ^= to new C# programmers they usually say something like “x += 10; is just a short way of writing x = x + 10;”. Now, though that is undoubtedly true for a local variable x of type int, that’s not the whole story, not by far. There are actually many subtle details to the compound assignment operators that you might not appreciate at first glance. First off, suppose the expression on the lef ...

[ read more ]

Optimizing Regex Performance, Part 3 [Ron Petrusha]

by BCL Team via BCL Team Blog on 3/29/2011 4:55:00 AM

Regular expressions in the .NET Framework support a number of grouping constructs, which allow a regular expression pattern to be grouped into one or more subexpressions. Grouping constructs are essential for creating backreferences, as well as for defining a subexpression to which a quantifier is applied. The Performance Impact of Capturing Groups The most commonly used grouping constructs in the .NET Framework regular expression language are (subexpression), which defines a numbered capturing ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us