Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can C# enums be declared as of bool type?

Tags:

c#

enums

boolean

Can I declare c# enum as bool like:

enum Result : bool
{
    pass = true,
    fail = false
}
like image 839
satya Avatar asked Dec 18 '09 15:12

satya


People also ask

What does Can-C do for the eyes?

Can-C's ingredients help to soothe and rejuvenate tired eyes, help with macular degeneration, cataracts, and other age-related eye disorders. Can-C eye drops for cataracts contain lubricants, an antioxidant and an anti-glycating agent, N-Acetyl-Carnosine (NAC).

Is Can-C good for dogs?

SAFE FOR HUMANS AND DOGS - Can-C is the first and only patented NAC eye drop that uses the exact formula proven effective in both animal and human trials, offering a non-invasive alternative to cataract surgery. EVERY BLINK HYDRATES and lubricates the eye and cornea.

Does Can-C work for cataracts?

By managing cataracts with Can-C, some patients may be able to avoid cataract surgery and keep their own natural lens. Cataract surgery is an in-office or outpatient procedure done without the need for general anesthetic. The diseased lens is removed and replaced.

Can-C active ingredient?

(IVP)'s scientists developed the lubricant eye drops (Can-C) designed as 1% N-acetylcarnosine (NAC) prodrug of L-carnosine containing a mucoadhesive cellulose-based compound combined with corneal absorption promoters in a sustained drug delivery system.


1 Answers

It says

The approved types for an enum are byte, sbyte, short, ushort, int, uint, long, or ulong.

enum (C# Reference)

like image 110
Adriaan Stander Avatar answered Oct 11 '22 11:10

Adriaan Stander