I am discussing about the Basics of C# & .NET. All the Namespaces which contain the basic libraries form the foundation of .NET Framework.
A Namespace in Microsoft .Net is like containers of objects. They may contain unions, classes, structures, interfaces, enumerators and delegates. Main goal of using namespace in .Net is for creating a hierarchical organization of program. In this case a developer does not need to worry about the naming conflicts of classes, functions, variables etc., inside a project.
Some of the important Namespaces which we discussed about were
SystemThis namespace include the core needs for programming. It includes base types like String, DateTime, Boolean, and so forth, support for environments such as the console, math functions, and base classes for attributes, exceptions, and arrays.
System.CollectionsDefines many common containers or collections used in programming, such as lists, queues, stacks, hashtables, and dictionaries. It includes support for generics.
System.IOAllows you to read from and write to different streams, such as files or other data streams. Also provides a connection to the file system.
System.NetProvides an interface “for many of the protocols used on networks today”, such as HTTP, FTP, and SMTP. Secure communication is supported by protocols such as SSL.
System.DataThis namespace represents the ADO.NET architecture, which is a set of computer software components that can be used by programmers to access data and data services.
We also discussed about the fundamental types included in the .NET Framework. I am embedding a presentation here
No comments:
Post a Comment