C Sharp - C#

Snippets

02

        public string ReturnBooleanAsYes_or_No(Boolean choice)
        {
            if (choice)
            {
                return ("Yes");
            }
            else
            {
                return ("No");
            }
        }

Comments

There are currently no comments, be the first to post one!

Post Comment

Only registered users may post comments.