Drawing Shapes -2D Graphes C#.NET PROGRAM

Using this bit converter, we can convert string, bool and integer

using System;
using System.Collections.Generic;
using System.Text;
namespace file
{
    class Program
    {
        static void Main(string[] args)
        {
            byte[] b = BitConverter.GetBytes(true);
            Console.WriteLine(BitConverter.ToString(b));
            Console.WriteLine(BitConverter.ToBoolean(b, 0));
            b = BitConverter.GetBytes(3678);
            Console.WriteLine(BitConverter.ToString(b));
            // Convert a byte array to an int and display.
            Console.WriteLine(BitConverter.ToInt32(b, 0));
            Console.ReadLine();
            }
    }
}

OUTPUT
 
Share:

Total Pageviews

CONTACT US

Prof. Roshan P. Helonde
Mobile: +917276355704
WhatsApp: +917276355704
Email: roshanphelonde@rediffmail.com

Enter Project Title

Popular Projects

All Archive

Contact Form

Name

Email *

Message *