Skip to main content

All Questions

0 votes
1 answer
198 views

Linked List Implementation in C#

I wrote an implementation of the Linked list data structure. I mostly did this because it's the simplest collection data structure (at least the simplest to implement), and I wanted to practice ...
Tobi Alafin's user avatar
  • 1,796
5 votes
1 answer
3k views

In-Memory database supporting transactions

I referred to the post here but it does not address the question that I have with regards to my implementation. I have a C# implementation of an in-memory database that I came up with during a recent ...
Sindhu's user avatar
  • 59
2 votes
2 answers
333 views

Generic Singly-Linked List implementation

I'm looking for some feedback regarding my implementation of a generic singly-linked list in C#. I'm also looking for some tips on how to implement other techniques such as using ...
THExLONExCUBAN's user avatar
3 votes
2 answers
708 views

Implement Immutable Collection in C#

I would like to define some constant sequences (of bytes, specifically) in my C# library/API. Both length and content should not vary, preferably by any means (barring reflection). To this end, a <...
nivk's user avatar
  • 235
3 votes
1 answer
2k views

.NET MSSQL Wrapper

Back in late 2012, I wrote the following C# .NET MSSQL Wrapper, which offered the following operations: ExecuteScalar (for selecting single field from a row) ...
Latheesan's user avatar
  • 283
7 votes
2 answers
679 views

Color structure with single field for multiple properties

This struct is used a lot throughout my programme. This struct is responsible for only things regarding colour, not anything else. I'm largely concerned of the ...
Der Kommissar's user avatar
5 votes
3 answers
3k views

Simple Service Locator

I've created a small, strongly-typed generic Service Locator object for .NET 3.5. It supports optional polymorphic service location and keyed services. I am looking for a general review, but ...
Nick Udell's user avatar
  • 5,197
4 votes
2 answers
2k views

Implementing faster StringBuilder that only works with ASCII strings

I wrote a StringBuilder that works only with ASCII strings. the current append performance is almost identical to BCL StringBuilder append performance. I want some tips on how to make it faster, and ...
Rezo Megrelidze's user avatar
5 votes
4 answers
339 views

Is this a good implementation of a simple "Size" value type

I have created the value type below to represent the desired size for an image. The Size.Default is used in situations where the image is required in the size it ...
Greg B's user avatar
  • 171