All Questions
Tagged with c# reinventing-the-wheel
71
questions
1
vote
2
answers
275
views
Singly linked list RemoveBefore() method
I am trying to implement a singly linked list. What is the most optimal way of implementing a RemoveBefore(ListNode) method?
I have done this:
Check if node being ...
4
votes
3
answers
180
views
Constructor for a Time object
I am trying to write a constructor method that takes dd, hh, mm and ...
3
votes
1
answer
3k
views
Generic Implementation of A Linked List in C#
Yesterday I posted my Generic List and received great feedback from it. I have taken the feedback to heart. Today I'm posting my take on the linked list in c#.
LinkedList.cs
...
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.
...
2
votes
1
answer
216
views
C# XML Config File
I'm trying to find a simple, clean and fast way to implement an XML config file in C# without any 3rd party tools. It also should replace this restricted ...
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 ...
4
votes
1
answer
1k
views
Primitive Extensions - Replaces static primitive methods
I got annoyed having to do things like string.IsNullOrEmpty(myString) when it seemed as if myString.IsNullOrEmpty() would ...
5
votes
1
answer
2k
views
VERY simple C# Set implementation
This is not meant to solve any insane real world problems. I just want to make sure my Set logic is right and the code looks okay. It feels weird implementing it with a ...
12
votes
3
answers
15k
views
Simple C# HashTable Implementation
Haven't put one of these together since college. How does this look overall?
...
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 ...
5
votes
2
answers
2k
views
ArrayList implementation
Can someone help me optimize speed for my code? I tested it via stopwatch in milliseconds. I've implemented my own ArrayList and I would like to improve its speed ...
2
votes
1
answer
5k
views
A Dynamic CSV Serializer
I made a dynamic CSV serializer as a learning challenge a while back, I'm hoping to get my code picked apart so I can learn what I can do better.
This is a bit long, so I wouldn't expect anyone to ...
7
votes
2
answers
108
views
IPv4 struct: Round 2
Summary
Original Question here.
Updated GitHub link here
I've taken an interest in lower level data structures and I implemented an 'Ip4Address` to get familiar with Explicit structure layout. It ...
7
votes
4
answers
387
views
IPv4 struct utilizing explicit layout
I was inspired by
Processing a list to build an IP in String Format to reinvent the wheel a little bit and play around with explicit struct layouts.
You see, an IP address is really made up of four,...
1
vote
1
answer
388
views
Dynamic CSV Formatter
I made a dynamic CSV formatter as a personal challenge after having to hardcode a behavior to convert some data to CSV earlier. You input any List that contains supported types as properties (all ...