Skip to content

Instantly share code, notes, and snippets.

@pgkt04
pgkt04 / flagsys.vb
Last active July 3, 2019 03:06
FlagSys is a simple class you can integrate into any VB.NET project to make use of flags using bitwise operators.
' Just a small class I wrote that allows simple integration of the use of flags
''' <summary>
''' Flag sys is a class for any program that allows integration of a flag based system
''' </summary>
Public Class FlagSys
Dim iFlag As Integer = 0
''' <summary>
''' Constructor that automatically assigns a flag if a value is passed