How can I translate this Java code:
private List<MPoint> classes = new ArrayList<MPoint>(); // MPoint is my own class
to C#? And what does final keyword mean in Java? What analogue there is to it in C#?
I am newbie in C# and Java and I need help 🙂
IList<T>is an interface implemented by the generic collection classList<T>.finalhas different meanings in Java depending on its context:finalon a class or method is likesealedin C#finalon a variable is likereadonlyin C#.Equivalent of
finalin C# is discussed in detail here.