fork(3) download
  1. using System;
  2.  
  3. public class Rectangle
  4. {
  5. public double Length { get; set; } = 1;
  6. public double Width { get; set; } = 1;
  7. public double Area { get; set; } = CalculateArea(1, 1);
  8.  
  9. public static double CalculateArea(double length, double width)
  10. {
  11. return length * width;
  12. }
  13. }
  14.  
  15. public class FingerPrint
  16. {
  17. public DateTime TimeStamp { get; } = DateTime.UtcNow;
  18.  
  19. public string User { get; } =
  20. System.Security.Principal.WindowsPrincipal.Current.Identity.Name;
  21.  
  22. public string Process { get; } =
  23. System.Diagnostics.Process.GetCurrentProcess().ProcessName;
  24. }
  25.  
  26. public class Test
  27. {
  28. public static void Main()
  29. {
  30. // your code goes here
  31. }
  32. }
Success #stdin #stdout 0.01s 23192KB
stdin
Standard input is empty
stdout
Standard output is empty