Skip to content

Instantly share code, notes, and snippets.

View MoaidHathot's full-sized avatar
🏠
Working from home

Moaid Hathot MoaidHathot

🏠
Working from home
View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
</startup>
<log4net>
@MoaidHathot
MoaidHathot / Bit.cs
Created September 18, 2016 21:09
Type-Safe Enum Pattern applied for representing a bit in C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OzCodeLinqTests
{
public sealed class Bit : IEquatable<Bit>, IComparable, IComparable<Bit>
{