Advertisement
Guest User

Untitled

a guest
Aug 1st, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 0.47 KB | None | 0 0
  1. class Account
  2.     private:
  3.         string name, secondName
  4.         string surname
  5.     public:
  6.         string Name
  7.         string Surname
  8.  
  9. class Account
  10.     private:
  11.         string name
  12.  
  13.     @Name:string
  14.         get => return "Oleg"
  15.         set => .name = value
  16.  
  17.  
  18. class App
  19.     Main() => {
  20.         Console.WriteLine("Hello World!")
  21.     }
  22.  
  23.     Foo() => Console.WriteLine("Say Foo")
  24.  
  25.     Bar( firstArg : string ) => {
  26.         Console.WriteLine( firstArg )
  27.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement