C-sharp Fundamentals

C-sharp Fundamentals Tutorial

5150.00/

During the development of the .NET Framework, the class libraries were originally written using a managed code compiler system called Simple Managed C (SMC). In January 1999, Anders Hejlsberg formed a team to build a new language at the time called Cool, which stood for "C-like Object Oriented Language". Microsoft had considered keeping the name "Cool" as the final name of the language, but chose not to do so for trademark reasons. By the time the .NET project was publicly announced at the July 2000 Professional Developers Conference, the language had been renamed C#, and the class libraries and ASP.NET runtime had been ported to C#.

The name "C sharp" was inspired by musical notation where a sharp indicates that the written note should be made a semitone higher in pitch. This is similar to the language name of C++, where "++" indicates that a variable should be incremented by 1. The sharp symbol also resembles a ligature of four "+" symbols (in a two-by-two grid), further implying that the language is an increment of C++.

Includes:  12 Articles  700 Skill Questions  10 Skill Videos  20 Quiz Sections

Course Price Details

Pricing 5150.00/
Stock Availability AVAILABLE
Rating
Add To Cart

C-sharp Fundamental Skills - For Beginners & Professionals
The name "C sharp" was inspired by musical notation where a sharp indicates that the written note should be made a semitone higher in pitch. This is similar to the language name of C++, where "++" indicates that a variable should be incremented by . The sharp symbol also resembles a ligature of four "+" symbols (in a two-by-two grid), further implying that the language is an increment of C++.

 History

"The history of C-sharp Fundamental begins with the first Microsoft .net product theC-sharp fundamental, .NET Framework, the class libraries were originally written using a managed code compiler system called Simple Managed C (SMC). In January 1999,"

 Great Achievement
  • C-Sharp Easy To Learn
  • C-Sharp syntax.
  • C-Sharp Object Oriented Language
  • Functional programming.
  • Categories of data types.
  • Language Integrated Query - LINQ
  • List of .NET libraries and frameworks.
 Currently Version :-As of October 2017 the following versions are supported by Microsoft:
  • 1.0,1.1,1.2 December 2002
  • 2.0 November 2005
  • 3.0 November 2007
  • 4.0 April 2010
  • 5.0 August 2012
  • 6.0 July 2015
  • 7.0 March 2017
  • 7.0 March 2017
  • 7.1 August 2017
  • 7.2 November 2017
Includes:  12 Articles  700 Skill Questions  10 Skill Videos  20 Quiz Sections
 Variable & Typecasting
  • Naming a variable
  • Boxing and Unboxing.
  • Data Conversions – Implicit & Explicit
  • Safe Type Casting with IS and AS Operator
 Operators
  • Different Types of Operators
  • Operators precedence.
 Conditional Statements
  • Introduction to conditional statement
  • If statements.
  • If-else statement
  • If-else-if ladder
  • Switch statement
 Loops
  • Introduction to loop
  • do...while loop.
  • while loop
  • for loop
  • foreach loop.
  • break statements
  • continue statement
 Strings
  • Introduction to strings
  • Mutable strings.
  • Immutable strings
  • Strings methods
 Arrays
  • Introduction to Array
  • One Dimensional Array
  • Multi-Dimensional Array
  • Jagged Array
 Object-Oriented Programming Concepts
  • Introduction to object oriented programming
  • Classes and Objects.
  • Inheritance
  • Polymorphism
  • Abstraction
  • Encapsulatio
  • Creating a class
  • Access Modifiers
  • Instance members
  • Creating an object
  • Introduction to Constructor
  • Types of Constructor
  • Default Constructor
  • Parameterised Constructor
  • Introduction to Destructor
  • Creating Destructor
 Inheritance
  • Introduction to Inheritance
  • Types of inheritance
  • Advantage of Inheritance
  • Single Level Inheritance
  • Multi-Level Inheritance.
  • Hybrid Inheritance
  • Sealed class and private constructor
  • Introduction to Methods
  • Methods Parameters
  • Optional Parameters, Out Parameters and Params
  • Call By Value and Call By Reference
  • Methods Overloading
  • Methods Overriding
  • Abstract, override and new keywords
  • Introduction to Property
  • Types of Property
  • Read-Write Property
  • Read Only Property
  • Write Only Property
  • Advantages of Property
  • Introduction to Indexer
  • Types of Indexer
  • Advantages of Indexer
 Exception Handling
  • Understanding Exceptions
  • Try, Catch and Finally block
  • Throw exception
  • Handling Exception
  • Custom Exception.
  • Introduction to structure
  • Creating structure
  • Structure vs. Class
  • Introduction to enum
  • Creating enum
  • Need of enum
  • Introduction to attributes
  • Creating attributes
  • Using attributes
 Inheritance
  • Introduction to Inheritance
  • Types of inheritance
  • Advantage of Inheritance
  • Single Level Inheritance
  • Multi-Level Inheritance.
  • Hybrid Inheritance
  • Sealed class and private constructor
  • Introduction to Methods
  • Methods Parameters
  • Optional Parameters, Out Parameters and Params
  • Call By Value and Call By Reference
  • Methods Overloading
  • Methods Overriding
  • Abstract, override and new keywords
  • Introduction to Property
  • Types of Property
  • Read-Write Property
  • Read Only Property
  • Write Only Property
  • Advantages of Property
 Mock Tests & Assignments
  • Each Module will be followed by objective mockup tests and practical assignments which help you to monitor your learning progress and Evaluate yourself.
 Support Any Device such as Desktop,Laptop,Mobile, on Any Device
 Motivational Videos
 Real-life Case Studies
 365 Days Access
  • You get 365 days access to the Learning Management System (LMS). This includes video, course material, exercise files and ppts used during the session.
 24x7 Support
  1. Dixit Roy March 7, 2017

    Really happy with this print. The colors are great, and the paper quality is very good.

    It's the excellent online learning institute for technical training with Job Assistance. The career with very neatly presented courses along with a hands-on and friendly instructor.

  2. Nishu Awasthi Feb 17, 2017

    For me, Skills in Online Learning has been breath-taking and enriching.The environment not only helped me in imbibing knowledge but also in developing my overall personality, fuelling confidence in me.

Add a review

 Taxes
  • Customer is responsible for paying all Federal, State and Local Taxes.
 Content
  • E-Learning Center does not guarantee the accuracy of the content. E-Learning Center is not responsible for any issues that may arise as a result of information that is received from our courses.
 Payment Terms
  • If we discover an error in the price of courses purchased, we will inform you as soon as possible (e.g. prior to the course being assigned). We will provide you the option of reconfirming your order at the correct price or cancelling it. If we are unable to contact you we will treat the order as cancelled. If you choose to cancel and have already paid for the goods you will receive a full refund.
  • Kindly do not share your Credit/Debit card details to anyone.
  • For direct cash transfer, only use our bank account name (payable to GDAS Business Solution Pvt. Ltd.). Do not transfer cash to any other account.
 Q1. What is Managed or Unmanaged Code?
  • Managed Code -“The code, which is developed in .NET framework is known as managed code. This code is directly executed by CLR with the help of managed code execution. Any language that is written in .NET Framework is managed code”.
  • Unmanaged Code -The code, which is developed outside .NET framework is known as unmanaged code.“Applications that do not run under the control of the CLR are said to be unmanaged, and certain languages such as C++ can be used to write such applications, which, for example, access low - level functions of the operating system. Background compatibility with the code of VB, ASP and COM are examples of unmanaged code”.
 Q2.What is Boxing and Unboxing?
  • Boxing:-Boxing is the process of converting a value type data type to the object or to any interface data type which is implemented by this value type. When the CLR boxes a value means when CLR is converting a value type to Object Type, it wraps the value inside a System.Object and stores it on the heap area in application domain.
  • Unboxing:-Unboxing is also a process which is used to extract the value type from the object or any implemented interface type. Boxing may be done implicitly, but unboxing have to be explicit by code.
 Q3. Can “this” be used within a static method?
  • We can't use this in static method because keyword 'this' returns a reference to the current instance of the class containing it. Static methods (or any static member) do not belong to a particular instance. They exist without creating an instance of the class and call with the name of a class not by instance so we can’t use this keyword in the body of static Methods, but in case of Extension Methods we can use it the functions parameters. Let’s have a look on “this” keyword.
 Q4. What is sealed class in c#?
  • Sealed classes are used to restrict the inheritance feature of object oriented programming. Once a class is defined as a sealed class, the class cannot be inherited
 Q5. What are partial classes?
  • A partial class is only use to splits the definition of a class in two or more classes in a same source code file or more than one source files. You can create a class definition in multiple files but it will be compiled as one class at run time and also when you’ll create an instance of this class so you can access all the methods from all source file with a same object.
 Q6.What is the Constructor Chaining in C#?
  • constructor chaining is a way to connect two or more classes in a relationship as Inheritance, in Constructor Chaining every child class constructor is mapped to parent class Constructor implicitly by base keyword so when you create an instance of child class to it’ll call parent’s class Constructor without it inheritance is not possible.
 Q7.Can Multiple Catch Blocks executed in c#?
  • we can use multiple Catches block with every try but when any Exceptions is throw by debugger so every catches match this exception type with their signature and catch the exception by any single catch block so that means we can use multiple catches blocks but only one can executed at once
 Q8.What are Indexer in C# .Net?
  • Indexer allows classes to be used in more intuitive manner. C# introduces a new concept known as Indexers which are used for treating an object as an array. The indexers are usually known as smart arrays in C#. They are not essential part of object-oriented programming. An indexer, also called an indexed property, is a class property that allows you to access a member variable of a class using the features of an array.
 Q9. What is Virtual Method in C#?
  • A virtual method is a method that can be redefined in derived classes. A virtual method has an implementation in a base class as well as derived the class. It is used when a method's basic functionality is the same but sometimes more functionality is needed in the derived class. A virtual method is created in the base class that can be overridden in the derived class. We create a virtual method in the base class using the virtual keyword and that method is overridden in the derived class using the override keyword.
 Q10. What is jagged array in C#.Net?
  • A jagged array is an array whose elements are arrays. The elements of a jagged array can be of different dimensions and sizes. A jagged array is sometimes called an "array of arrays." A special type of array is introduced in C#. A Jagged Array is an array of an array in which the length of each array index can differ.
 Q11.What is LINQ in C#?
  • LINQ stands for Language Integrated Query. LINQ is a data querying methodology which provides querying capabilities to .NET languages with a syntax similar to a SQL query LINQ has a great power of querying on any source of data. The data source could be collections of objects, database or XML files. We can easily retrieve data from any object that implements the IEnumerable interface.
 Q12. What is the difference between “dispose” and “finalize” variables in C#?
  • Dispose - This method uses interface – “IDisposable” interface and it will free up both managed and unmanaged codes like – database connection, files etc.
  • Finalize - This method is called internally unlike Dispose method which is called explicitly. It is called by garbage collector and can’t be called from the code.
 Q13. What is the difference between “finalize” and “finally” methods in C#?
  • Finalize – This method is used for garbage collection. So before destroying an object this method is called as part of clean up activity.
  • Finally – This method is used for executing the code irrespective of exception occurred or not.
 Q14. What is the difference between “out” and “ref” parameters in C#?
  • “out” parameter can be passed to a method and it need not be initialized where as “ref” parameter has to be initialized before it is used.
 Q15. Explain String Builder class in C#?
  • This will represent the mutable string of characters and this class cannot be inherited. It allows us to Insert, Remove, Append and Replace the characters. “ToString()” method can be used for the final string obtained from StringBuilder.
 Q16. What is Data Encapsulation ?
  • Data Encapsulation is defined as the process of hiding the important fields from the end user. In the above example, we had used getters and setters to set value for MinSalary. The idea behind this is that, private field “minimumSalary” is an important part of our classes. So if we give a third party code to have complete control over the field without any validation, it can adversely affect the functionality. This is inline with the OOPS Concept that an external user should know about the what an object does. How it does it, should be decided by the program. So if a user set a negative value for MinSalary, we can put a validation in the set method to avoid negative values as shown below
 Q17. Can Multiple Inheritance implemented in C# ?
  • In C#, derived classes can inherit from one base class only. If you want to inherit from multiple base classes, use interface.
 Q18. What is Polymorphism in C# ?
  • The ability of a programming language to process objects in different ways depending on their data type or class is known as Polymorphism. There are two types of polymorphism
  • Compile time polymorphism. Best example is Overloading
  • Runtime polymorphism. Best example is Overriding
 Q19.What is Method Hiding in C# ?
  • If the derived class doesn't want to use methods in the base class, derived class can implement it's own version of the same method with same signature. For example, in the classes given below, DriveType() is implemented in the derived class with same signature. This is called Method Hiding.
 Q20. What is an Interface in C# ?
  • An interface is similar to a class with method signatures. There wont be any implementation of the methods in an Interface. Classes which implement interface should have an implementation of methods defined in the abstract class.
 Q21. What is a Destructor in C# ?
  • Destructor is a special method that get invoked/called automatically whenever an object of a given class gets destroyed. Main idea behind using destructor is to free the memory used by the object.
 Q22. Explain Static Members in C# ?
  • If an attribute's value had to be same across all the instances of the same class, the static keyword is used. For example, if the Minimum salary should be set for all employees in the employee class, use the following code.
 Q23. Explain Partial Class in C#?
  • Partial classes concept added in .Net Framework 2.0 and it allows us to split the business logic in multiple files with the same class name along with “partial” keyword.
 Q24.Explain Anonymous type in C#?
  • This is being added in C# 3.0 version. This feature enables us to create an object at compile time. Below is the sample code for the same –
    Var myTestCategory = new { CategoryId = 1, CategoryName = “Category1”};
 Q25. Explain the types of unit test cases?
  • Below are the list of unit test case types –
  • Positive Test cases
  • Negative Test cases
  • Exception Test cases