The Stack Overflow podcast is back! Listen to an interview with our new CEO.
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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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
Results tagged with Search options user 3530

C# is a multiparadigm, managed, garbage-collected object-oriented programming language created by Microsoft in parallel with the .NET platform

10
votes
3answers
I created a private validation method for a certain validation that happens multiple times in my class (I can't store the validated data for various reasons). Now, ReSharper suggests that the function …
asked Aug 31 '11 by Tamás Szelei
1
vote
It is possible to do something like what the linked blog post describes with C# 4.0. You can subclass DynamicObject (or even ExpandoObject to have a good starting point) and override TryGetMember and …
answered Feb 16 '12 by Tamás Szelei
0
votes
What you described is very much possible without checking is relationships. An object oriented design should rely on interfaces, not implementations. That means, code like this: if (o is Derived1) { …
answered Mar 7 '14 by Tamás Szelei
0
votes
Because being "sure" about correctness or any other constraint in the mathematical sense (i.e. you have proof) is a very hard problem for imperative languages. Programs often have a such high number o …
answered Dec 3 '12 by Tamás Szelei
3
votes
Separate them by purpose. A class library is supposed to be cohesive. You shouldn't throw arbitrary things together. For example, I just wrote an updater library. It has classes that deal with updati …
answered Apr 14 '11 by Tamás Szelei