Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Invoice
- {
- public int Id_record { get; private set; }
- public int EmployeeID { get; private set; }
- }
- Invoice inv = new Invoice();
- string s1 = inv.EmployeeID.ToString(); // returns: "Employee ID is: {0}."
- string s2 = inv.Id_record.ToString(); // returns original value as string
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement