To get the bytes from the string

Jitendrasoft09
Posted by Jitendrasoft09 under C# category on | Points: 40 | Views : 666
using System;
using System.Text;

class jkExample {

static void Main(string[] args) {


byte[] myBytes = Encoding.ASCII.GetBytes("Welcome to Dot Net Funda");

Console.WriteLine("String value: {0}", myString);


Console.ReadLine();
}
}

Comments or Responses

Login to post response