Tags
Articles in CSharp
Binary vs. Source compatibility
Binary Compatibility means that when something is updated, you continue to work without needing to even recompile. Source Compatibility means that you need to recompile to keep things working, but you d...
From : Mike Stalls blog
2008 Mar 11
Readability
Readability Stats: Word Count: 317; Sentence Count: 22; Grade Level: 9.6
Carousel(flying) Movement for Images using .NET DataGrid
From : Dutts DOTNET Support
2008 Feb 12
Readability
Readability Stats: Word Count: 1; Sentence Count: 1; Grade Level: K
Coalesce ?? operator in C# 2.0
Operator ??, that was introduced in the .NET 2.0, takes first place in my top used C# idioms list a long time, but unfortunately it is rarely used in projects I’ve participated. Therefore these snippets could ...
From : Dmytro Shteflyuks Home
2008 Jan 14
Readability
Readability Stats: Word Count: 337; Sentence Count: 47; Grade Level: 8.4
Using Reflector to search through code and resolve .NET issues
As you already know, i spend my days analyzing dumps for customers, and more often than not I don't have access to the customers code. I could probably ask for it but it usually takes a ...
From : If broken it is, fix it you should
2008 Jan 10
Readability
Readability Stats: Word Count: 929; Sentence Count: 65; Grade Level: 5.3
Logging for Libraries
A pet peeve of mine for a long time has been how many libraries handle logging. There are general two techniques: Don't log Use [commons-logging|log4r|printf|syslog|slf4j] Both suck. ...
From : Waste of Time
2008 Jan 05
Readability
Readability Stats: Word Count: 262; Sentence Count: 26; Grade Level: 5.2
Quirk in the DateTime class
I experienced a strange behaviour with the DateTime class and formatting today. For some reason this error only occurs when you format a DateTime in certain cultures like Italian. The error is not present in...
From : .NET slave
2008 Jan 05
Readability
Readability Stats: Word Count: 195; Sentence Count: 19; Grade Level: 5.5
Use SC CONFIG to isolate a Service in its own svchost instance.
Digging in - How to isolate a service in its own scvhost.exe "This is a very good public link to read about service control manager internals and how to manage services. http://download.microsoft.com/downlo...
From : Gregs Cool [Insert Clever Name] of the Day
2008 Jan 05
Readability
Readability Stats: Word Count: 217; Sentence Count: 25; Grade Level: 4.6
DataGridviewAutoFilter Sample Updated (Think "Click on a Grid Column Header and select value to filter rows on" sample)
Windows Forms Documentation Updates - DataGridviewAutoFilter sample updated "I've made a few bug-fixes to my DataGridViewAutoFilter sample, which is described in Building a Drop-Down Filter List for a DataGr...
From : Gregs Cool [Insert Clever Name] of the Day
2007 Dec 10
Readability
Readability Stats: Word Count: 201; Sentence Count: 19; Grade Level: 8.0
Code snippet for property old style
When I first realised that the prop snippet now generates automatic properties in C# I thought it was cool. The more I write code in VS2008 though I find that when I need to write a property with get/setters t...
From : The Moth
2007 Dec 04
Readability
Readability Stats: Word Count: 133; Sentence Count: 5; Grade Level: 10.3
Display Checkboxes in ASP.NET 2.0 GridView using skins
So, I’ve been struggling for a while with how to style a checkbox to work with a skin file. Basically, what I did was create some gif files that look like checked and unchecked check boxes. I defined them in m...
From : peterkellner.net
2007 Nov 24
Readability
Readability Stats: Word Count: 344; Sentence Count: 15; Grade Level: 12.0
C# 3.0 Object Initializers Revisited
A while ago I posted about this new C# 3.0 feature. Although the IL code (aargh, yet another of these posts :-)) in that post reveals how object initializers are implemented internally, I wanted to make it sli...
From : B# .NET Blog
2007 Nov 22
Readability
Readability Stats: Word Count: 952; Sentence Count: 42; Grade Level: 3.6
Managed and Native Interop - C# or C++/CLI?
This is a topic that I've been thinking a lot about lately. And I would really like to get all of your opinions as well (especially if you disagree with me). This debate came up recently (again) on my trip t...
From : Jason Olson
2007 Nov 22
Readability
Readability Stats: Word Count: 1817; Sentence Count: 93; Grade Level: 8.8
Query syntax in VB
One other feature I'm liking in VB is that you can omit the trailing select clause in a query. That is, you can simply say this: From ch In "Hello" Where ch <> "H" which in C# would look like this: ...
From : Don Boxs Spoutlet
2007 Nov 11
Readability
Readability Stats: Word Count: 53; Sentence Count: 2; Grade Level: 6.3
Creating dumps with Windbg and writing ADPlus Config files
My colleague Carlo just wrote a post on how to create dumps and how to configure ADPlus with config files, that I thought was really useful http://blogs.msdn.com/carloc/archive/2007/10/08/ok-now-how-do-i-captu...
From : If broken it is, fix it you should
2007 Oct 09
Readability
Readability Stats: Word Count: 90; Sentence Count: 5; Grade Level: 7.2
Determining your Terminal Server Session ID from C#
I ran into an interesting .NET Remoting problem yesterday: Users on Terminal Services were stomping on each other running an app with a "private" remoting server that hadn't taken into account the possib...
From : Scrappydog
2007 Sep 05
Readability
Readability Stats: Word Count: 286; Sentence Count: 17; Grade Level: 4.1