I have a product.aspx class
public partial class _Products : Product
{
protected void Page_Load(object sender, EventArgs e)
{
Product p1 = new Product();
p1.m1();
}
new virtual int m1()
{
return 10;
}
}
and in my appcode i have class product.cs
public class Product
{
public Product()
{
}
protected void m1()
{
}
public void m2()
{
}
Task: p1.m1 (); here I ran into a problem with my intelligence system that did not allow me to access the m1 () product class method;
source
share