Quantcast
Channel: Whether C# interfaces and objective c @prototypes are same? - Stack Overflow
Browsing latest articles
Browse All 5 View Live

Answer by Καrτhικ for Whether C# interfaces and objective c @prototypes are...

There is a huge difference that people are overlooking:You can declare variables of type Interface in C# (as in Java) but you cannot declare variables of type protocol.

View Article


Answer by Anders Zommarin for Whether C# interfaces and objective c...

1) I assume you mean protocols. Protocols are close to interfaces in C# (and Java) but the semantics differ in that the method receiving the message does not need to implement the method. Then the...

View Article

Answer by FreeAsInBeer for Whether C# interfaces and objective c @prototypes...

Q: Whether C# interfaces and objective c @prototypes are same? and when the function inside the prototype are optional and when they are compulsory.A: These are basically the same. Objective-C uses...

View Article

Answer by Oscar Gomez for Whether C# interfaces and objective c @prototypes...

1) I believe you are referring to protocols, formal protocols those woth the @protocol notation, are almost exactly the same as a C# interface, the diferrence ks that the protocol allows you to specify...

View Article

Whether C# interfaces and objective c @prototypes are same?

1) Whether C# interfaces and objective c @prototypes are same? and when the function inside the prototype are optional and when they are compulsory.2) What is meaning of @property (nonatomic, retain)I...

View Article

Browsing latest articles
Browse All 5 View Live