Hi,
I have defined a public class in a paypalfunctions.cs file and i want to instantiate this class from another paypalcsharp.cs file . However this code does not work and i get the error message
"The type or namespace name 'Person' could not be found (are you missing a using directive or an assembly reference?)"
// This is in the paypalfunctions.cs file
public class Person
{
public string Name;
}
// This is in the paypalcsharp.cs file
public partial class Form1 : Form
{
private void Form1 _Load(object sender, EventArgs e)
{
Person myPerson = new Person();
myPerson.Name = "John Doe";
MessageBox.Show(myPerso ...
Go to the complete details ...