Linked Questions

3 votes
5 answers
2k views

Possible Duplicate: Hidden Features of C#? What is it? Is it useful? Where? ??
WishToBePro's user avatar
6 votes
0 answers
1k views

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 ...
saunderl's user avatar
  • 1,638
-4 votes
1 answer
219 views

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);...
user14273848's user avatar
478 votes
150 answers
135k views

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

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.
Edward Tanguay's user avatar
295 votes
100 answers
225k views

After reading Hidden Features of C# I wondered, What are some of the hidden features of Java?
312 votes
99 answers
157k views

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#, 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 ...
Daniel Kreiseder's user avatar
322 votes
37 answers
125k views

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

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

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?
user avatar
109 votes
36 answers
42k views

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

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

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 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[] ...
Matthew Scharley's user avatar

15 30 50 per page
1
2 3 4 5
8