We’re rewarding the question askers & reputations are being recalculated! Read more.
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 40

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.

10
votes
2answers
I have the following code: private ScatterViewItem FindScatterViewOfSourceFile(SourceFile find) { foreach (ScatterViewItem svi in classScatterViews) { if ((svi.Tag as SourceFile).Equals(f …
asked Mar 4 '11 by RoflcoptrException
10
votes
2answers
I have the following method: private void removeUnnecessaryLines(List<ScatterViewItem> list) { List<Line> remove = new List<Line>(); foreach (Line line in lines) { SourceFile dest …
asked Jan 30 '11 by RoflcoptrException
6
votes
I always use this solution if I have to implement a Singleton in C# public sealed class Logging { static Logging instance = null; static readonly object lockObj = new object(); …
answered Jan 20 '11 by RoflcoptrException
4
votes
3answers
I have a rectangle with size w and height h. Now I want to split this rectangle into n new rectangles that are as similar as possible to a square. Afterwards I'd like to calculated the center of each …
asked Feb 9 '11 by RoflcoptrException
33
votes
11answers
I have a method that has a lot of loops: private void update(double depth) { Console.WriteLine("update with level " + depth); this.Dispatcher.Invoke(System.Windows.T …
asked Jan 19 '11 by RoflcoptrException