S
shapper
Hello,
I have the following classes:
namespace MyApp.Models {
public class Tie {
public Count Count { get; set; }
public Tie() {
this.Count = new Count();
}
}
}
namespace MyApp.Models
{
public class Count
{
public int File { get; set; }
public int Professor { get; set; }
}
}
However, when I access the Tie class in my code the only think Visual
Studio recognizes is:
Tie.Tie.Tie ...
Why can't I access Tie.Count ?
The Tie method inside the Tie class is only a constructor to
initialize the Count property.
Am I doing something wrong?
I have been using VB.NET for a long time and C# just recently so I am
still getting familiar with it.
Thanks,
Miguel
I have the following classes:
namespace MyApp.Models {
public class Tie {
public Count Count { get; set; }
public Tie() {
this.Count = new Count();
}
}
}
namespace MyApp.Models
{
public class Count
{
public int File { get; set; }
public int Professor { get; set; }
}
}
However, when I access the Tie class in my code the only think Visual
Studio recognizes is:
Tie.Tie.Tie ...
Why can't I access Tie.Count ?
The Tie method inside the Tie class is only a constructor to
initialize the Count property.
Am I doing something wrong?
I have been using VB.NET for a long time and C# just recently so I am
still getting familiar with it.
Thanks,
Miguel