Can you please tell me what is the difference between following two class
public static class Product
{
    public static int AddData(int x, int y)
    {
        return x + y;
    }
}
public class Product
{
    public static int AddData(int x, int y)
    {
        return x + y;
    }
} 
since we can able to access AddData method in same way in both class.
 
    