nwnug

Stories kicked by nwnug

String.Format() and StringBuilder(diditwith.net)

submitted by cls2degcls2deg(1535) 5 years, 6 months ago

This article looks at the potential performance issues of String.Format() when used with StringBuilder. read more...

add a comment |category: |Views: 21

tags: another

Neat Tricks With Extension Methods(diditwith.net)

submitted by cls2degcls2deg(1535) 5 years, 7 months ago

Exploring some of the cool things you can do with extension methods in C# 3.0. read more...

add a comment |category: |Views: 12

tags: another

Performance of foreach vs. List.ForEach(diditwith.net)

submitted by cls2degcls2deg(1535) 5 years, 7 months ago

Today I was iterating a List<int> using a foreach-loop and feeling a bit smug in knowing how much more performance-conscious I was being than if I'd tried doing the same thing with an ArrayList filled with ints. Thanks to the wonder of generics, the C# compiler neatly avoids numerous boxing operations by using a System.Collections.Generic.IEnumerator<int> instance instead of the older System.Collections.IEnumerator. Then I got to thinking: "is this really the fastest way?" Upon investigation, it turns that, no, it isn't the fastest way. read more...

1 comment |category: |Views: 367

tags: another

Dustin Campbell: Giving Enums a Little Love(diditwith.net)

submitted by jfollasjfollas(425) 5 years, 8 months ago

Dustin Campbell (Developer Express' Senior "Whipping Boy") discusses improvements that should be made in order to round out the Enumeration data type in .NET (to provide for both increased functionality and improved readability of code that uses enums). read more...

add a comment |category: |Views: 2

tags: another

XmlDataSource: XPath Workaround For Default Namespaces(jasonf-blog.blogspot.com)

submitted by jfollasjfollas(425) 5 years, 9 months ago

The ASP.NET 2.0 XmlDataSource does not provide a way to handle namespaces in the source XML. If your source XML uses namespaces, then you need to use XSLT to remove the namespaces, otherwise you won't be able to create a valid XPath statement that will work with the XmlDataSource. Or do you? (hint: you can do everything in XPath without resorting to XSLT) read more...

add a comment |category: |Views: 45

tags: another

Scott Hanselman podcast #28 - Open Source Options(hanselman.com)

submitted by gaechgaech(1240) 5 years, 9 months ago

"My twenty-eighth Podcast is up. This episode is about the Option Source Community. This is a pretty open ended talk, as there really isn't an easy solution..." read more...

add a comment |category: |Views: 7

tags: another

Hacker Cracks, Clones RFID Passport(ecommercetimes.com)

submitted by rjdudleyrjdudley(1465) 5 years, 9 months ago

It took 2 weeks and $250 to clone the chip which is to be used in US passports. read more...

add a comment |category: |Views: 3

tags: another