Skip to main content
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
Results tagged with
Search options not deleted user 11037

C# is a multi-paradigm, managed, garbage-collected, object-oriented programming language created by Microsoft in conjunction with the .NET platform. Use this tag for questions related to C#. In case a specific version of the framework is used, you could also include that tag; for instance .net-2.0.

2 votes

Are redundancy and reflection my only options here?

The redundancy is hard to remove and constructions like these make it hard to extend the options later. It would require updates to both data contracts and all classes implementing them. You could us …
jessehouwing's user avatar
2 votes
Accepted

How to make this ASP.NET MVC ViewModel population query efficient?

It's hard to tell exactly how to write this query without knowing exactly what your datamodel look like and how you've set it up. An assumption was made you're using Linq 2 SQL, I'll adhere to that as …
jessehouwing's user avatar
2 votes

Duplication Elimination Project

Not sure whether there's some trickery here... But a simple solution could be: Simplest way would be an array of boolean for all possible numbers. When you enter 50, check position 50 and if it's fal …
jessehouwing's user avatar
3 votes
Accepted

Parsing library interface

I like the idea of a Fluent Parser, but I find the syntax you're using very confusing, which probably isn't what you wanted to hear. Some feedback: Productions, Production, Onreduce, these terms ha …
jessehouwing's user avatar
6 votes
Accepted

using (IDisposable) in c# factory pattern

No, you can't use a factory to dispose your objects, your code is creating and immediately disposing the SPSite as soon as it steps out of your method. public override SPSite GetSite(string url = …
jessehouwing's user avatar