Ex: error occurs during the static compilation phase, which
means that no program that declares a private virtual method
will ever be executed in any way.
private virtual int Test()
static void Main()
'A.Test()': virtual or abstract members cannot be private
first let me know wht is the benfit specifying virtual
method as private.
Is This Answer Correct ?
Other C Sharp Interview Questions
code to generate a excel sheet and to write data into it ---
-it has to fetch the excel
sheet which is in one folder placed by us inside a project
folder(i,e it has to create a instance of that excel sheet)
and write the data into it row by row please respond as
early as possible