• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 247
  • Last Modified:

Where is Actual MS Interface code for In Depth Interface Study?

I'm not perticular about which Interface, just would like to see actual code. I find countless code examples about derived classes...
0
pointeman
Asked:
pointeman
  • 3
  • 2
2 Solutions
 
Bob LearnedCommented:
I am confused what you are looking for...  "Depth Interface Study"...
0
 
pointemanAuthor Commented:
Actual MS code of a .NET Interface.
0
 
Bob LearnedCommented:
If you are talking about using reflection on an interface, then I wouldn't think that would provide much value, since it is just a simple contract declaration.


public interface IQueryable : IEnumerable
{
    // Properties
    Type ElementType { get; }
    Expression Expression { get; }
    IQueryProvider Provider { get; }
}

Open in new window


Are you talking about the concrete classes, and how to implement an interface?
0
 
pointemanAuthor Commented:
I know MS probably writes .NET framework in C++, just wondering what their actual code looks like.
0
 
Bob LearnedCommented:
.NET is written in .NET, but it is, in many cases, just a wrapper around COM, or Win32 API calls.  If you use an application like Reflector, or ILSpy, you can examine the base framework code.


Snapshot.png
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now