|
-
Jul 12th, 2008, 10:08 PM
#11
Thread Starter
Hyperactive Member
Re: A few C# questions.
 Originally Posted by jmcilhinney
An assembly is a .NET executable file, i.e. an EXE or a DLL. Each project you create that compiles to an EXE or a DLL represents an assembly. The idea of internal types and members is that any other assembly that references your DLL will not be able to see them, so they are for internal use only. My favourite example of this is the DataRow class. It is defined in the System.Data.dll assembly as a public class, but its constructor is declared internal. That means that it's not possible for any of us to create a DataRow object directly. We have to call the NewRow method of a DataTable to create a DataRow. Note that the DataTable class is also declared in the System.Data.dll assembly, so it IS able to access the DataRow constructor.
Any .NET language can be used to develop applications for any system that can run a CLR. Windows Mobile devices run a CLR so any .NET language can be used to develop for that platform.
Good stuff as usual JMC.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|