Example of TYPED INTERFACE ?

  • Thread starter Thread starter pamela fluente
  • Start date Start date
P

pamela fluente

I am using extensively typed classes.

Now I would also need typed interfaces. Is it possible to define an
interface with a couple of types?

Do you have an example ? (a 3-line example would be fine).

Thank you,

-P
 
I'm not sure what you need, but if you're asking if an interface can contain
types, they cannot in C#. They can contain types in VB however.
--
David Anton
www.tangiblesoftwaresolutions.com
Convert between VB, C#, and C++
Instant C#
Instant VB
Instant C++
C++ to C# Converter
C++ to VB Converter
 
I'm not sure what you need, but if you're asking if an interface can contain
types, they cannot in C#. They can contain types in VB however.
--
David Antonwww.tangiblesoftwaresolutions.com
Convert between VB, C#, and C++
Instant C#
Instant VB
Instant C++
C++ to C# Converter
C++ to VB Converter









- Mostra testo tra virgolette -

thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top