C Sharp is an object oriented programming language and was developed by Microsoft expressly for its .NET platform. C Sharp provides the features that are most important to programmers, such as object-oriented programming, graphics, graphical-user-interface (GUI) components, exception handling, multithreading, multimedia (audio, images, animation and video), file processing, prepackaged data structures, database processing, Internet and World-Wide-Web-based multi-tier application development, networking, Web services and distributed computing. The language is appropriate for implementing Internet and World-Wide-Web-based applications that integrate seamlessly with Windows-based applications.
Additional Info
  • Publisher: Laxmi Publications
  • Language: English
  • ISBN : 978-81-318-0533-6
  • Chapter 1

    GETTING STARTED WITH C SHARP Price 2.99  |  2.99 Rewards Points

    When the chronicle of computer programming language is written, the following will be said, B led to C, C evolved C++ and C++ makes the foundation for C Sharp. C Sharp is a brand-new object oriented programming language that emphasizes a component based approach to software development, with the best features of many commonly used languages, the productivity of Visual Basic, the elegance of Java and the power of C++ . It is specially designed to work with the latest Microsoft’s .NET platform.
  • Chapter 2

    DATA TYPES AND OPERATORS Price 2.99  |  2.99 Rewards Points

    It is important to state at the outset that C# is a strongly typed language. Indeed, part of C# safety and robustness comes from this fact. Let’s see what this means. First ,every variable has a type, every expression has a type, and every type is strictly defined. Second all the assignments whether explicit or via parameter passing in method calls are checked for type compatibility. There is no automatic corrections or conversion of conflicting types as in some languages. The C# compiler checks all the expressions and parameters to ensure that the types are compatible. Any type mismatches are errors that must be corrected before the compiler will finish compiling the class.
  • Chapter 3

    CONTROL STATEMENTS ARRAYS AND FUNCTIONS Price 2.99  |  2.99 Rewards Points

    Programming languages uses control statements to cause the flow of execution to advance the branch based on changes to the state of program. C# ‘s program control statements can be put into the following categories: selection, iteration and jump. Selection statements allows your program to choose different paths of execution based on the outcome of an expression or the state of a variable. Iteration statements enable program execution to repeat one or more statements. Jump statements allow your program to execute in a nonlinear fashion.
  • Chapter 4

    INTRODUCTION TO CLASSES AND INHERITANCE Price 2.99  |  2.99 Rewards Points

    The class is the core of C#. It is the logical construct upon which the entire C# language is built, because it defines the shape and nature of an object. As such the class forms the basic for object oriented programming in C#. Any concept you want to implement in C# program must be encapsulated within a class.
  • Chapter 5

    NAMESPACE AND INTERFACE Price 2.99  |  2.99 Rewards Points

    Namespace is a collection of classes. Namespaces provide re-usability of existing classes. It can be compared to a folder and the classes can be can be compared to the files. Namespace can be used to group related classes together. It also helps you to avoid the problem of name collisions.
  • Chapter 6

    DELEGATES AND EVENTS Price 2.99  |  2.99 Rewards Points

    We normally pass data of any kind to a function. A situation may arise where we may want to pass a function to a function. This would seem a bit strange but this does happen. A method may need another method to do something.. In such situation we may not even know which method to pass We may need to pass it at run time. But simply passing a function name to other function does not solve the problem because this approach causes problems with type safety. We cannot just pass methods directly cause we need objects to access them.
  • Chapter 7

    ATTRIBUTES STRUCTURE AND ENUMS Price 2.99  |  2.99 Rewards Points

    C# allows you to specify meta information to class such as definition for a class and instruction to reuse a class. You can retrieve this information at run time. You can specify meta information to class in C# by using attributes. Attributes enable you to specify both design time and runtime information for a class.
  • Chapter 8

    EXCEPTION HANDLING Price 2.99  |  2.99 Rewards Points

    Exceptions are abnormal conditions arises in a code sequence at run time. An exception provides a type-safe, structured, and uniform way of handling system level and application level errors. All the exceptions are represented by an instance of predefined class, System.Excetion.
  • Chapter 9

    MULTITHREADING Price 2.99  |  2.99 Rewards Points

    Multithreading is not a new concept in software, but it is new to come into the lime light. Before looking how multithreading is implemented in .NET let us have a brief look at what threads are and their importance.
  • Chapter 10

    PROPERTIES AND INDEXERS Price 2.99  |  2.99 Rewards Points

    C# has a concept of Properties which has been borrowed from Visual Basic. This concept is new for C/C++ and Java programmers. This is a very useful concept while developing object oriented class libraries hence let’s have a look at it.
  • Chapter 11

    STREAMS AND FILES Price 2.99  |  2.99 Rewards Points

    One of the most. Common things you will need to do is access the file system to read and write to file to move or copy file around or to explore folders to check what files are there. The .NET base classes include a number of classes that provide a rich set of functionality to do these tasks. These classes are contain in the System.IO namespace.
  • Chapter 12

    STRING HANDLING Price 2.99  |  2.99 Rewards Points

    One of the most. Common things you will need to do is access the file system to read and write to file to move or copy file around or to explore folders to check what files are there. The .NET base classes include a number of classes that provide a rich set of functionality to do these tasks. These classes are contain in the System.IO namespace.
  • Chapter 13

    USING COLLECTIONS Price 2.99  |  2.99 Rewards Points

    Collection classes are data structure in System.Collectins namepace. They are provide various way to manage data for a C# program. They can used in place of array for more sophisticated management of a group of object. Some of more popular collection are those that manage data as dynamically resizable array, hash tables, queues and stacks.
  • Chapter 14


    A component is nothing but the reusable piece of software in binary form that can be plugged into other components from other vendors. Reusable software programs that share a common interface allowing easy integration into applications that is it is a Binary standard that allows any two components to communicate that component may be written in any language.
  • Chapter 15

    OPERATOR OVERLOADING AND UNSAFE CODE Price 2.99  |  2.99 Rewards Points

    C# also suppots pointers in a limited extent. A pointer is nothing but a variable that holds the memory address of another type. But in C# pointer can only be declared to hold the memory address of value types and arrays. Unlike reference types, pointer types are not tracked by the default garbage collection mechanism. For the same reason pointers are not allowed to point to a reference type or even to a structure type which contains a reference type. We can say that pointers can point to only unmanaged types which includes all basic data types, enum types, other pointer types and structs which contain only unmanaged types.
  • Chapter 16

    NETWORKING IN C Price 2.99  |  2.99 Rewards Points

    The concept networking refers to, the interconnection of more than one computer by the help of certain electronic media(cable, satellite, etc) in purpose of exchanging information or sharing resources. Network communication in C# follows the same model as traditional languages do, but with fewer details for the user to manage. Socket programming can still be difficult, but wrapper classes facilitate common tasks. The System.Net namespaces are not technically part of the Base Class Libraries, but I include them in this chapter because communication is so important today. The framework and Windows support a number of protocols, but I focus on Internet Protocol (IP) and sockets programming because most software engineer needing to communicate across the network will use IP-based technology.
  • Chapter 17

    DATABASE CONNECTIVITY USING ADONET Price 2.99  |  2.99 Rewards Points

    Data are row facts from which information can be derived. A database is a record-keeping system of an organization, more specially a computer based system, the purpose of which is to record and store data. A database can be defined as a collection of stored operational data used by the application systems of some particular enterprise.
  • Chapter 18

    WINDOW PROGRAMMING IN C Price 2.99  |  2.99 Rewards Points

  • Chapter 19

    Graphical Device Interface Price 2.99  |  2.99 Rewards Points

    The basic purpose of the Graphical Device Interface (GDI) is to abstract away the video and print sub-systems. It was based on the Windows C-style API, GDI+ adds a layer between GDI and your programs. The mechanism that implements this abstraction is the Device Context in GDI, and is encapsulated in the GDI+ Graphics class. GDI+ is next evolution of GDI. Using GDI objects in earlier versions of Visual Studio was a pain. In Visual Studio .NET, Microsoft has taken care of most of the GDI problems and have made it easy to use.
  • Chapter 20

    WEB SERVICES Price 2.99  |  2.99 Rewards Points

    Today the business have crossed the boundaries of the Corporate Intranets and Virtual Private Networks. The business models have changed from two tier to n-tier models, with the business’s linking up with other partners, suppliers, distributors and Consumers. This has led to the need for programmers to develop huge applications managed across platforms and geographical boundaries. This has become a headache for you, hasn’t it? Trying to maintain and deploy your application across different Platforms and making applications written in different Languages work together. The interoperability between such platforms and programming languages is one of the major problem which leads to large expenditure on developing, maintaining and deploying such applications.
  • Chapter 21

    GARBAGE COLLECTION Price 2.99  |  2.99 Rewards Points

    Garbage collection in the Microsoft .NET commn language runtime environment completely absolves the developer from tracking memory usage and knowing when to free memory. However, you’ll want to understand how it works. Here we are going to discuss on .NET garbage collection explains how resources are allocated and managed, then gives a detailed step-by-step description of how the garbage collection algorithm works. Also discussed are the way resources can clean up properly when the garbage collector decides to free a resource’s memory and how to force an object to clean up when it is freed.
  • Chapter 22

    XML IN C Price 2.99  |  2.99 Rewards Points

    XML is one of the most important component in the .NET Platform. Recognizing the simplicity and power of XML in representing and transmitting data, it have been effectively harnessed in the .NET Platform. Support for XML and related technologies like DOM Level 2 Core, XPath 1.0, XSLT 1.0, XML Schemas (XSD), and the Simple Object Access Protocol (SOAP), has been in-built in .NET from ground up. The XML API in .NET is extensive and provides a wide array of types (classes) to manipulate with XML and related technologies very easily, effectively and with a significant gain in performance. Seeing this trend one thing that can be said definitely is, that if you are a programmer on the .NET, it goes without saying that you need to understand and express XML. Let’s examine a few areas where XML has been used in .NET.
  • Chapter 23

    XML DOCUMENTATION IN C Price 2.99  |  2.99 Rewards Points

    C# supports the creation of XML Comments, allowing developers to quickly annotate and document their source code without having to resort to clumsy and inconsistently formatted external files.
  • Chapter 24

    SECURITY FEATURES IN NET AND C Price 2.99  |  2.99 Rewards Points


About the Author