Hi..
how to generate item numbers based on the item in windows ..
Generate the item numbers based on item
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sivaraman DhamodaranRank #40 · 34.5K reputationPosted Nov 7, 2012, 9:15 PM EST
sri40 reputationPosted Nov 7, 2012, 11:15 PM EST
Poppa Wallace97 reputationPosted Nov 8, 2012, 3:02 AM EST
using System.Text;
class Program
{
static void Main()
{
var variable = "returnnumber";
Console.WriteLine((int)Encoding.ASCII.GetBytes(variable)[0]);
Console.ReadLine();
}
}