Trevor Pilley's user avatar
Trevor Pilley's user avatar
Trevor Pilley's user avatar
Trevor Pilley
  • Member for 10 years, 7 months
  • Last seen more than 5 years ago
20 votes
Accepted

Add/Remove items thread-safely in List<T>

17 votes

Which is the most correct pattern for using Stack.Pop?

14 votes
Accepted

String join of distinct string

11 votes
Accepted

Extension methods for methods and properties that don't use non-public data

10 votes
Accepted

reusable data access class in C#

9 votes
Accepted

Thread-safe lock-free counter

8 votes
Accepted

Check if a value exists or catch an exception

7 votes

Splitting a string of random length

7 votes

Can someone improve this C# code

7 votes
Accepted

Validate that a given string (name) meets certain requirements

6 votes

String calculator kata

5 votes

Using statement in context of streams and WebClients

4 votes
Accepted

Review of a generic request handler class (RestSharp)

4 votes
Accepted

Is this a thread safe way to control access to a reusable resource? Is there a better way?

4 votes

Better Alternative For Storing Multiple Booleans?

4 votes
Accepted

Handling optimistic concurrency violations

3 votes

Synced/Atomic access

2 votes
Accepted

Does this ugly code fit into a design pattern?

2 votes

Optimization code for checking if a list contains any element ID of another list

2 votes

Using RouteValueDictionary to convert anonymous type to query string

2 votes

Using return value vs out parameters

2 votes
Accepted

Load assemblies with injector module

2 votes

Class for generating PDF documents

1 vote
Accepted

Is there a performance difference using AS keyword in SQL?

1 vote

LINQ approach to flatten Dictionary to string

0 votes

Library for doing A/B tests in a web app