:icon_idea: An interface prescribes a set of behaviour (i.e. method) listings that you’d like an Object to have. Since static methods don’t work on an Object there isn’t really a need to declare a static method within an interface and so it has been prohibited. I think it's best to explain to Darkagn what you know and things will make more sense :icon_wink:
Actually it wasn't that I didn't understand the question, I just wanted cbalu to think about it before I suggested a reason why interfaces can't have static methods. It was my way of getting cbalu to put in some effort to the question.
hehe yeah I knew what you were trying to do Darkagn, that's why I told him to explain what he knows even though I sorta explained why static methods aren't allowed in interfaces. Sorry I didn't mean to imply you didn't understand.
Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...