Hi i have the following class
and i m trying toCode:public class User : XPBaseObject { public DateTime ReceiptTimeIntervalStart; }
but the compiler says L:\NET Solutions\C#\OrderManager\frmUser.cs(200): Cannot pass 'OrderManager.User.ReceiptTimeIntervalStart' as ref or out, because 'OrderManager.User.ReceiptTimeIntervalStart' is a marshal-by-reference classCode:Console.Write(user.ReceiptTimeIntervalStart.ToShortTimeString());
can someone help me please




Reply With Quote