Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace test
- {
- public interface ISomething
- {
- int Azaza { get; }
- }
- public class Something : ISomething
- {
- private readonly int _azaza ;
- public Something()
- {
- _azaza = 123;
- }
- public int Azaza
- {
- get
- {
- return _azaza;
- }
- }
- }
- class Program
- {
- static void Main(string[] args)
- {
- var something = new Something();
- var azaza = something.Azaza;
- Console.WriteLine(azaza);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement