All Questions
Tagged with c# reinventing-the-wheel
71
questions
23
votes
8
answers
6k
views
Optimize custom double.parse()
In my company's code, they use double.tryParse() which is quite good but sets too much security for our needs. As we sometimes have to parse a few billion strings, ...
22
votes
5
answers
12k
views
Linked List in C#
I was searching for a implementation of a Linked List with the same power as a native List.
I wanted functionality closer to a ...
22
votes
3
answers
3k
views
Look 'ma, I can read code
I have put together a naive implementation of a VB6/VBA parser, and I'd like to see if the CR community sees the same things as I see can be improved with this code, before I start refactoring.
I've ...
16
votes
4
answers
2k
views
String Queue implementation
Is the implementation clean enough & can be used in production?
I tried to write clean & bug-free code. It looks good to me.
I would appreciate any improvement suggestions.
One question I ...
12
votes
3
answers
15k
views
Simple C# HashTable Implementation
Haven't put one of these together since college. How does this look overall?
...
12
votes
3
answers
81k
views
Simple authentication in ASP.NET MVC 5
I am building an ASP.NET MVC 5 application and, for reasons which are irrelevant at this point, I am attempting to build my own means of authenticating users. I'm still very new to programming, ...
12
votes
2
answers
3k
views
Implementation of a generic List
I have only been self teaching myself programming on and off for about 5 months. The purpose of me writing this class is to incorporate the knowledge that I have gathered since I started.
...
11
votes
7
answers
9k
views
Numbers to byte-arrays and back
As the title explains, this is a series of extension methods that convert certain numeric types to and from byte-arrays, for certain actions which work better on byte-array types than numeric types.
...
11
votes
5
answers
6k
views
Stopwatch class
I am learning C# and I have an exercise:
Design a class called Stopwatch. The job of this class is to simulate
a stopwatch. It should provide two methods: Start and Stop. We call
the start ...
9
votes
3
answers
3k
views
ImmutableList implementation in C#
I tried to implement an immutable list.
...
9
votes
1
answer
783
views
Simple LinkedList
I guess this has been made a couple of times by now, but i wanted to take my chance on creating a simple generic linked list in c#.
What do you think ?
This is the main class.
...
8
votes
2
answers
1k
views
C# Linked List implementation
I am trying to learn C# and created this project to improve. I will be using C# professionally so a harsh critique is welcome.
...
8
votes
1
answer
1k
views
An extension to the StringBuilder
This is another pretty basic class I wrote for a library as I hate the way the default StringBuilder in .NET works.
Essentially, I wanted to have the ...
8
votes
1
answer
5k
views
Library, that finds the derivative of a function
I've written a small library, that provides a way to store mathematical expressions in a tree-like structure, and provides a method, that finds the first derivative of a function. I know, that there ...
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 ...