David Smith

David Smith

  • NA
  • 2k
  • 0

Encode OrderOject into a string

Oct 2 2011 1:43 AM
'
Tutorial on Encoding orderobject into a string then Decode string back to original orderobject

Can someone assist me or point me to the right direction.

                        Random randomCreditCardNo = new Random();
                        string senderId = retailers[i].ManagedThreadId.ToString();
                        int cardNo = randomCreditCardNo.Next(5000, 7000);
                        int amount = chicken.getPrice();

                        OrderObject orderObject = new OrderObject(senderId, cardNo, amount);

Answers (3)