logo
  • Home
  • About
  • Training
  • Programming
  • CS
  • IT
  • IS
  • ECE
  • EEE
  • EE
  • Civil
  • Mechanical
  • Chemical
  • Metallurgy
  • Instrumentation
  • Aeronautical
  • Aerospace
  • Biotechnology
  • Agriculture
  • MCA
  • BCA
  • Internship
  • Contact

C# Questions and Answers

C# Interview Questions and Answers

Our 1000+ C# questions and answers focuses on all areas of C# subject covering 100+ topics in C#. These topics are chosen from a collection of most authoritative and best reference books on C#. One should spend 1 hour daily for 2-3 months to learn and assimilate C# comprehensively. This way of systematic learning will prepare anyone easily towards C# interviews, online tests, examinations and certifications.

Highlights
– 1000+ Multiple Choice Questions & Answers in C# with explanations
– Lots of MCQs with C# code/programming snippet and its output
– Every MCQ set focuses on a specific topic in C# Programming Language

Who should Practice these C# Questions?
– Anyone wishing to sharpen their skills on C# programming language
– Anyone preparing for aptitude test in C# (both objective type and coding written test)
– Anyone preparing for interviews (campus/off-campus interviews, walk-in interview and company interviews)
– Anyone preparing for entrance examinations and other competitive examinations
– All – Experienced, Freshers and Students

Here’s list of Questions & Answers on C# Programming with near about 100 topics:

1. Questions and Answers on Data Types, Variables and Operators

The section contains questions and answers on integer, float, decimal and character data types, variable initialization, their scope and lifetime, arithmetic, relational, logical, bitwise and conditional operators.

Integer Data Types
Floating and Decimal Data Types
Char Types and String Literals
Initialization of Variables
Scope and Lifetime of Variables
Type Conversion in Expressions
Arithmetic Operators
Relational and Logical Operators
Bit-wise and Conditional Operators

2. Questions on Looping Statements

The section contains questions on if, while, do while, for, switch, continue and goto looping statements.

IF Statements
Switch Statements
For Loop Statements
While Loop Statements
Do While Loop Statements
Continue, Goto statements

3. Questions and Answers on Classes

This section contains questions and answers on class fundamentals, class methods, constructors, destructors and other reference variables.

Fundamentals of Class
Reference Variables and Assignment
Methods in Class
Constructors in Class
Destructors in Class

4. Questions on Arrays and Strings

The section contains questions on array and string operations, comparison, searching and modifying of strings and the usage of ref, out and variable arguments.

Array and Initialization
Basic Operation on Strings
String Class with Description
Comparison of Strings
Searching and Modifying Strings
Operation on Characters
Public & Private Access Modifier
Use of Ref and Out Parameters
Use of Variable Arguements

5. Questions and Answers on Object Oriented Concepts

The section contains questions and answers on polymorphism, structures, enumeration, inheritance, method overloading and method overriding, abstract class and interface implementation.

Polymorphism
Structures
Enumerations
Fundamentals of Inheritance
Inheritance Implementation
Method Overloading
Method Overriding
Constructor Overloading
Abstract Class & Methods
Interfaces Introduction
Interfaces Implementation
Introduction of Overloaded Operators
Recursion

6. Questions on Indexers and Exception Handling

The section contains questions on indexers and their properties and mechanisms of exception handling which includes try and catch.

Introduction of Indexers
Introduction of Properties
Properties and its Applications
Fundamentals of Exception Handling
Implementation of Exception Handling
Exceptions of Type Finally and Built in
Try & Catch in Detail

7. Questions and Answers on Console I/O Operations and Stream Classes

The section contains questions and answers on reading console input and writing console output operations, byte and character stream classes and attributes.

Attributes
Introduction of Console I/O Operations
Reading Console Input Operations
Writing Console Output Operations
Introduction of Stream Classes
Byte Stream
Character Stream

8. Questions on Delegates, Generics and LINQ

The section contains questions on delegates, events, runtime type, array class, generics and operations of LINQ.

Fundamental of Delegates
Delegates in Detail
Fundamental of Generics
Generic Methods
Fundamental of LINQ
Operation and Query with LINQ
Introduction of Array Class
Runtime Type

9. Questions and Answers on Reflections, Multithreaded Programming, Collection Classes and Mathematical Functions

The section contains questions and answers on collection framework, mathematical classes, rounding functions, iterators and multithreaded programming.

Introduction of Reflections
Collection Classes
Maths Class
Rounding Functions in C#
Multi-threaded Programming – 1
Multi-threaded Programming – 2
Iterators

10. Questions on Namespaces, Preprocessors and Networking

The section contains questions on concepts of namespaces, preprocessors, URI and network handling.

Fundamentals of Namespaces
Fundamentals of Preprocessors
Method with Parameters
Fundamental of Networking
URI Class
Network Errors Handling
Type Interface

11. Questions and Answers on Miscellaneous topics

The section contains questions and answers on basics of pointers and their operation, accessor controls and string formatting.

Unsafe Code & Pointers Basics
Pointers Operation – 1
Pointers Operation – 2
Accessor Controls of Class
Introduction of String Formatting
String Formatting – 1
String Formatting – 2
If you like to learn C# thoroughly, you should attempt to work on the complete set of C# questions and answers mentioned above. It will immensely help anyone trying to crack a C# code or an interview.

Here’s the list of Best Reference Books in C# Programming Language.

Wish you the best in your endeavor to learn and master C# programming language!

Deep Dive @ Sanfoundry:

  1. C# Programming Examples on Delegates
  2. C Programming Examples
  3. C Programming Examples on Bitwise Operations
  4. Python Questions and Answers
  5. Javascript Questions and Answers
  6. C# Question & Answers – Generic Methods
  7. PHP Questions and Answers
  8. C# Questions & Answers – Introduction of Stream Classes
  9. C# Questions & Answers – Basic Operation on Strings
  10. Object Oriented Programming Questions and Answers – IO Class
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer and SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage & Cluster Administration, Advanced C Programming, SAN Storage Technologies, SCSI Internals and Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him below:
LinkedIn | Facebook | Twitter | Google+

Best Careers

Developer Tracks
SAN Developer
Linux Kernel Developer
Linux Driver Developer
Linux Network Developer

Live Training Photos
Mentoring
Software Productivity
GDB Assignment
Sanfoundry is No. 1 choice for Deep Hands-ON Trainings in SAN, Linux & C, Kernel Programming. Our Founder has trained employees of almost all Top Companies in India such as VMware, Citrix, Oracle, Motorola, Ericsson, Aricent, HP, Intuit, Microsoft, Cisco, SAP Labs, Siemens, Symantec, Redhat, Chelsio, Cavium, ST-Micro, Samsung, LG-Soft, Wipro, TCS, HCL, IBM, Accenture, HSBC, Mphasis, Tata-Elxsi, Tata VSNL, Mindtree, Cognizant and Startups.

Best Trainings

SAN I - Technology
SAN II - Admin
Linux Fundamentals
Advanced C Training
Linux-C Debugging
System Programming
Network Programming
Linux Threads
Kernel Programming
Kernel Debugging
Linux Device Drivers

Best Reference Books

Computer Science Books
Algorithm & Programming Books
Electronics Engineering Books
Electrical Engineering Books
Chemical Engineering Books
Civil Engineering Books
Mechanical Engineering Books
Industrial Engineering Books
Instrumentation Engg Books
Metallurgical Engineering Books
All Stream Best Books

Questions and Answers

1000 C Questions & Answers
1000 C++ Questions & Answers
1000 C# Questions & Answers
1000 Java Questions & Answers
1000 Linux Questions & Answers
1000 Python Questions
1000 PHP Questions & Answers
1000 Hadoop Questions
Cloud Computing Questions
Computer Science Questions
All Stream Questions & Answers

India Internships

Computer Science Internships
Instrumentation Internships
Electronics Internships
Electrical Internships
Mechanical Internships
Industrial Internships
Systems Internships
Chemical Internships
Civil Internships
IT Internships
All Stream Internships

About Sanfoundry

About Us
Copyright
TOS & Privacy
Jobs
Bangalore Training
Online Training
SAN Training
Developers Track
Mentoring Sessions
Contact Us
Sitemap
© 2011 Sanfoundry