Declare abstract method on initialisation ?

Hello guys, i'm from java and trying to learn c# for unity. Right now, I have my abstract class District with this abstract endTurn() method.

In java, you can do

District district = new District(){ endTurn(){ // Do something } };

Does something equivalent exsists in c# ?

by pyrovoice via /r/csharp

Leave a Reply