Linked Questions
120 questions linked to/from Hidden Features of C#?
3 votes
5 answers
2k views
An Unknown feature in C# Maybe Just For Me [duplicate]
Possible Duplicate: Hidden Features of C#? What is it? Is it useful? Where? ??
6 votes
0 answers
1k views
What are your favorite little used C# trick? [duplicate]
Possible Duplicate: Hidden Features of C#? Hello Everyone, I'm just wondering what little C# tricks that programmers use in their day-to-day work. I have two - One, an overlooked, for me, language ...
-4 votes
1 answer
219 views
What is the use of "? :" [duplicate]
About Me: I am new to C#. So i found this code on Microsoft! int a, b, c; a = 7; b = a; c = b++; b = a + b * c; c = a >= 100 ? b : c / 10; //This Line Is Confusing a = (int)Math.Sqrt(b * b + c * c);...
478 votes
150 answers
135k views
What are your favorite extension methods for C#? (codeplex.com/extensionoverflow)
Let's make a list of answers where you post your excellent and favorite extension methods. The requirement is that the full code must be posted and a example and an explanation on how to use it. ...
2038 votes
18 answers
746k views
What do two question marks together mean in C#?
Ran across this line of code: FormsAuth = formsAuth ?? new FormsAuthenticationWrapper(); What do the two question marks mean, is it some kind of ternary operator? It's hard to look up in Google.
295 votes
100 answers
225k views
Hidden Features of Java
After reading Hidden Features of C# I wondered, What are some of the hidden features of Java?
312 votes
99 answers
157k views
Hidden Features of JavaScript? [closed]
What "Hidden Features" of JavaScript do you think every programmer should know? After having seen the excellent quality of the answers to the following questions I thought it was time to ask it for ...
820 votes
31 answers
379k views
In C#, should I use string.Empty or String.Empty or "" to intitialize a string?
In C#, I want to initialize a string value with an empty string. How should I do this? What is the right way, and why? string willi = string.Empty; or string willi = String.Empty; or string willi ...
322 votes
37 answers
125k views
What's the strangest corner case you've seen in C# or .NET? [closed]
I collect a few corner cases and brain teasers and would always like to hear more. The page only really covers C# language bits and bobs, but I also find core .NET things interesting too. For example, ...
141 votes
78 answers
64k views
Hidden features of Perl?
What are some really useful but esoteric language features in Perl that you've actually been able to employ to do useful work? Guidelines: Try to limit answers to the Perl core and not CPAN Please ...
484 votes
21 answers
87k views
Expression versus Statement
I'm asking with regards to C#, but I assume it's the same in most other languages. Does anyone have a good definition of expressions and statements and what the differences are?
109 votes
36 answers
42k views
Hidden features of HTML
HTML being the most widely used language (at least as a markup language) has not gotten its due credit. Considering that it has been around for so many years, things like the FORM / INPUT controls ...
121 votes
64 answers
31k views
Hidden Features of VB.NET?
I have learned quite a bit browsing through Hidden Features of C# and was surprised when I couldn't find something similar for VB.NET. So what are some of its hidden or lesser known features?
159 votes
46 answers
44k views
Hidden features of Ruby
Continuing the "Hidden features of ..." meme, let's share the lesser-known but useful features of Ruby programming language. Try to limit this discussion with core Ruby, without any Ruby on Rails ...
433 votes
14 answers
250k views
Switch statement fallthrough in C#?
Switch statement fallthrough is one of my personal major reasons for loving switch vs. if/else if constructs. An example is in order here: static string NumberToWords(int number) { string[] ...