Interface blues
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Ok, I got a piece of code and I can't seem to compile it... I don't quite know how to ask the question so here goes. I have the following code: public interface X : _Collection { [DispId(0)] Y this[object ] { get; set; } } Where Y is another interface. I get an 'Identifier expected' message when I compile. Can anyone explain this code and a possible solution? Thanks!
-
Ok, I got a piece of code and I can't seem to compile it... I don't quite know how to ask the question so here goes. I have the following code: public interface X : _Collection { [DispId(0)] Y this[object ] { get; set; } } Where Y is another interface. I get an 'Identifier expected' message when I compile. Can anyone explain this code and a possible solution? Thanks!