Advertisement
bastide

Untitled

Nov 15th, 2024
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.22 KB | None | 0 0
  1. public class MyClass {
  2.   public string Name { get; set; }
  3.   public int Age { get; set; }
  4.  
  5.   public MyClass(string name, int age) {
  6.     Name = name;
  7.     Age = age;
  8.   }
  9.  
  10.   public void Operation1(int x) { ... }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement