fork download
  1. using static System.Console;
  2.  
  3. public class Program {
  4.  
  5. public class Customer {
  6. // Initializers for auto-properties
  7. public string First { get; set; } = "Jane";
  8. public string Last { get; set; } = "Doe";
  9. }
  10.  
  11. public static void Main() {
  12. var customer = new Customer();
  13. WriteLine("First: " + customer.First);
  14. WriteLine("Last: " + customer.Last);
  15. }
  16. }
  17.  
  18. //https://pt.stackoverflow.com/q/16704/101
Success #stdin #stdout 0.02s 15668KB
stdin
Standard input is empty
stdout
First: Jane
Last: Doe