Tech Stuff with Rybo
An overview of technical problems and my solutions for them.
Thursday, June 18, 2009
Error 1 Inconsistent accessibility: parameter x type is less accessible than method y
I was trying to pass an interface type to a method.
public void MyMethod(IMyInterface myI)
{
// ...
}
Make the interface public
public interface IMyInterface
{
// ..
}
This should solve this problem.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment