Answer: No we cannot.
For example :-
public abstract class clsbase
{
public abstract string str = "Akiii";
}
executing the code will results in the following error :-
Error 1 The modifier 'abstract' is not valid on fields. Try using a property inste ad.
Thanks and Regards
Akiii
Found interesting? Add this to: