Hi All,
I am wondering if the notion of interface is a C# thing or .NET thing.
In other words, is it supported at the language level, like C++'s
support of classes, or at the runtime level? Could anyone help?
Thanks,
gz 5 1361
It's an OO thing. Object Oriented. http://en.wikipedia.org/wiki/Object_Oriented
............
"gz" <zy*******@gmail.comwrote in message
news:11*********************@o3g2000hsb.googlegrou ps.com...
Hi All,
I am wondering if the notion of interface is a C# thing or .NET thing.
In other words, is it supported at the language level, like C++'s
support of classes, or at the runtime level? Could anyone help?
Thanks,
gz
Hi,
"gz" <zy*******@gmail.comwrote in message
news:11*********************@o3g2000hsb.googlegrou ps.com...
Hi All,
I am wondering if the notion of interface is a C# thing or .NET thing.
In other words, is it supported at the language level, like C++'s
support of classes, or at the runtime level? Could anyone help?
Well interfaces are defined ALL over the framework. That only should
indicate that they are a .NET "thing" don't you think?
"gz" <zy*******@gmail.comwrote in message
news:11*********************@o3g2000hsb.googlegrou ps.com...
Hi All,
I am wondering if the notion of interface is a C# thing or .NET thing.
In other words, is it supported at the language level, like C++'s
support of classes, or at the runtime level? Could anyone help?
The .NET runtime enforces the restriction of multiple inheritance to
interfaces.
>
Thanks,
gz
On Oct 11, 1:01 pm, gz <zyzhu2...@gmail.comwrote:
Hi All,
I am wondering if the notion of interface is a C# thing or .NET thing.
In other words, is it supported at the language level, like C++'s
support of classes, or at the runtime level? Could anyone help?
Thanks,
gz
Interfaces are an integral part of the common type system and so is
defined at level even lower than the runtime. Read the Common
Language Infrastructure specification (ECMA-335) for more information.
On Oct 11, 3:01 pm, Brian Gideon <briangid...@yahoo.comwrote:
On Oct 11, 1:01 pm, gz <zyzhu2...@gmail.comwrote:
Hi All,
I am wondering if the notion of interface is a C# thing or .NET thing.
In other words, is it supported at the language level, like C++'s
support of classes, or at the runtime level? Could anyone help?
Thanks,
gz
Interfaces are an integral part of the common type system and so is
defined at level even lower than the runtime. Read the Common
Language Infrastructure specification (ECMA-335) for more information.
I see.
Thanks everyone for answering! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Anon Email |
last post by:
Hi people,
I'm learning about header files in C++. The following is code from
Bartosz Milewski:
// Code
const int maxStack = 16;
class IStack
|
by: Ash |
last post by:
Hello all,
I am hoping this is the appropriate newsgroup for a C++ interface
design question. I am trying to design an interface for a subscriber
to register/deregister handlers for various...
|
by: Ole Hanson |
last post by:
I am accessing my database through an interface, to allow future
substitution of the physical datastore - hence I would like to declare in my
Interface that my DAL-objects implementing the...
|
by: Brett |
last post by:
I'm still trying to figure out concrete reasons to use one over the other.
I understand the abstract class can have implementation in its methods and
derived classes can only inherit one abstract...
|
by: you |
last post by:
I may be just stupid, but I don't understand the point of using an
Interface.
I am going through a couple of books at the moment trying to teach
myself a little vb.net. Just for the heck of...
|
by: Rich |
last post by:
Hello,
my project (vb2005) contains several classes that each produce lists of data
which get stored/displayed in ado.net tables that have the same structure for
each of the lists produced by...
|
by: YellowFin Announcements |
last post by:
Introduction
Usability and relevance have been identified as the major factors
preventing mass adoption of
Business Intelligence applications. What we have today are traditional
BI tools that...
|
by: Xah Lee |
last post by:
On Java's Interface
Xah Lee, 20050223
In Java the language, there's this a keyword “interface”.
In a functional language, a function can be specified by its name and
parameter specs....
|
by: ewpatton |
last post by:
Hi,
I have written a DLL in C++.NET that contains a class inherited from a
single abstraction:
//------ IThing.h ------
#ifndef __ITHING_H__
#define __ITHING_H__
namespace DLLObject
|
by: Tony |
last post by:
Hello!
The keword abstract and sealed are not allowed in interfaces.
I can understand that abstract is not allowed because an interface is
completely abstract
and contains no implementation.
...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shllpp 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |