Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
C# is a multiparadigm, managed, garbage-collected object-oriented programming language created by Microsoft in parallel with the .NET platform
1
vote
Is there a way to play the role of Javascript with any other language like C#?
Intresting question!
A bit of googling no offence :) found jsc, which lets you port C# to javascript.
What is jsc?
jsc is a decompiler or a
cross compiler if you will. It is not
a sour …
2
votes
Accepted
Design method to return List of objects
It depends on how you need to use GetRules.
If it's expensive and and you really do want to access the same set of Rules everywhere in your application, then I'd create a Cache class which stores the …
6
votes
Could a singleton type replace static methods and classes?
If the question is "What do we use to replace static classes?"
Singletons are not the answer.
Dependancy injection is.
That said, I'm using singletons to replace static classes in a legacy code bas …
25
votes
Accepted
What's a good naming convention for generic types in C#?
It is indeed subjective...ish.
As some folks find i is perfectly valid for a for loop variable, some think T is perfectly valid for a type place-holder in a generic class.
I personally espouse this a …
11
votes
Accepted
Where can I read the original C# introduction paper by Microsoft?
From MSDN Magazine September 2000
I've an odd - 11 year old - feeling that I read this at the time, and went . . . meh
Many developers wish there was a language that was easy to write,
read, an …
1
vote
How can I improve upon this "pattern"?
Leaving aside the SQL issues (use parameterised procs etc instead of inline SQL), and addressing the code in the question.
Instead of using string builder, use System.IO.StringWriter it uses a String …