public static void Main()
Console.WriteLine("Hello World");
NoteType note1StoredInDb = NoteType.Time;
NoteType note2StoredInDb = NoteType.Depth;
NoteType callerWantsTime = NoteType.Time;
NoteType callerWantsDepth = NoteType.Depth;
NoteType callerWantsBoth = NoteType.Time|NoteType.Depth;
Console.WriteLine( (note1StoredInDb & callerWantsDepth) > 0);
Console.WriteLine( (note1StoredInDb & callerWantsTime) > 0);
Console.WriteLine( (note1StoredInDb & callerWantsBoth) > 0);
Console.WriteLine( (note2StoredInDb & callerWantsDepth) > 0);
Console.WriteLine( (note2StoredInDb & callerWantsTime) > 0);
Console.WriteLine( (note2StoredInDb & callerWantsBoth) > 0);