Hi im not sure that my code is working as it should(class in c sharp) - C#