✅ how to move it to abstract class - C#