SlideShare a Scribd company logo
Softchief Learn
www.softchief.com | +91-8328865778
10 C#.NET Interview
Questions for Dynamics
365 CE/CRM Developers
Copyright @ softchieflearn
1.Can you explain about the OOPS concept in Microsoft .NET?
Answer : OOPS is a concept of modern programming language
that allows programmers to organize classes, objects and four
key concepts of OOPs are abstraction, encapsulation,
inheritance and polymorphism.
A class is a blueprint of an object that contains variables for storing data and
functions to perform operations on the data.
Objects are the basic run-time entities of an object oriented system. They may
represent a person, a place or any item that the program must handle.
Abstraction is the process of hiding the working style of an object, and
showing the information of an object in an understandable manner.
Wrapping up a data member and a method together into a single unit (in
other words class) is called Encapsulation.
When a class includes a property of another class it is known as inheritance.
Polymorphism means one name, many forms. One function can be called for
different types of parameters. Two types compile time and run-time
polymorphism.
Refer site for more practice :
https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/tutorials/oop
2.What is a sealed class and what is the benefit of using it?
Answer : Sealed classes are used to restrict the inheritance feature of
object oriented programming. Once a class is defined as a sealed
class, this class cannot be inherited.
3.Can you explain about access specifiers in C# .NET?
Answer : There are 5 access specifiers in .NET. They are given below.
private: limits the accessibility of a member to within the defined type, for example if a
variable or a function is being created in a ClassA and declared as private then another
ClassB can't access that.
public: has no limits, any members or types defined as public can be accessed within the
class, assembly even outside the assembly. Most DLLs are known to be produced by public
class and members written in a .cs file.
internal: internal plays an important role when you want your class members to be
accessible within the assembly. An assembly is the produced .dll or .exe from your .NET
Language code (C#). Hence, if you have a C# project that has ClassA, ClassB and ClassC then
any internal type and members will become accessible across the classes within the
assembly.
protected: plays a role only when inheritance is used. In other words, any protected type or
member becomes accessible when a child is inherited by the parent. In other cases (when no
inheritance) protected members and types are not visible.
Protected internal: is a combination of protected and internal both. A protected internal will
be accessible within the assembly due to its internal flavor and also via inheritance due to its
protected flavor.
4.Which design pattern you used in your projects in C# .NET?
Answer : The Singleton design pattern is one of the simplest design patterns.
This pattern ensures that the class has only one instance and provides a global
point of access to it. The pattern ensures that only one object of a specific class
is ever created.
5.What is a namespace and assembly in C# .NET?
Answer : A Namespace provides the fundamental unit of logical code
grouping while an assembly provides a fundamental unit of physical code
grouping. Namespace. Namespaces is a logical group of related classes
that can be used by any other language targeting Microsoft . Net
framework .
6.What is a WEB API and how can a WEB API can be accessed in
C# .NET?
Answer : API stands for Application Programming Interface. API is actually some kind of
interface which has a set of functions. These set of functions will allow programmers to
acquire some specific features or the data of an application.
Web API is an API as the name suggests, it can be accessed over the web using the
HTTP protocol. It is a framework that helps you to create and develop HTTP based
RESTFUL services. The web API can be developed by using different technologies such
as java, ASP.NET, etc. Web API is used in either a web server or a web browser. Basically
Web API is a web development concept. It is limited to Web Application’s client-side and
also it does not include a web server or web browser details. If an application is to be
used on a distributed system and to provide services on different devices like laptops,
mobiles, etc then web API services are used. Web API is the enhanced form of the web
application. We can use verbs like Get, Post, Put, Delete etc to interact with the WEB API.
7.Can you explain boxing and unboxing in .NET?
Answer : Boxing is the process of converting a value type to the type
object or to any interface type implemented by this value type. When the
common language runtime (CLR) boxes a value type, it wraps the value
inside a System.Object instance and stores it on the managed heap.
Unboxing extracts the value type from the object. Boxing is implicit;
unboxing is explicit. The concept of boxing and unboxing underlies the C#
unified view of the type system in which a value of any type can be treated
as an object.
8.What is DLL and EXE in .NET?
Answer :
EXE : An exe always runs in its own address space i.e.. It is a separate process.The purpose of an
EXE is to launch a separate application of its own.
DLL : A dll always needs a host exe to run. i.e., it can never run in its own address space. The
purpose of a DLL is to have a collection of methods/classes which can be re-used from some other
application. DLL is Microsoft's implementation of a shared library.
9.What do you understand by signing an assembly in C#?
Answer : A very important reason to sign an assembly is so you
can be sure it is your assembly. Since the private key is yours,
nobody else can sign an assembly with that same key.
10. What is abstract class and interface in C# and differences?
Answer :
Abstract Class Interface
It contains both declaration and
definition parts.
It contains only a declaration part.
Multiple inheritance is not achieved
by abstract class.
Multiple inheritance is achieved by interface.
It contains a constructor. It does not contain a constructor.
It can contain static members. It does not contain static members.
It can contain different types of
access modifiers like public, private,
It only contains a public access modifier
because everything in the interface is public.
protected etc.
The performance of an abstract
class is fast.
The performance of the interface is slow
because it requires time to search the actual
method in the corresponding class.
It is used to implement the core
identity of class.
It is used to implement peripheral abilities of
class.
A class can only use one abstract
class.
A class can use multiple interfaces.
If many implementations are of the
same kind and use common
behavior, then it is superior to use
abstract classes.
If many implementations only share methods,
then it is superior to use Interface.
Abstract classes can contain
methods, fields, constants, etc.
Interface can only contain methods .
It can be fully, partially or not
implemented.
It should be fully implemented.
Thank You….
For Training in Dynamics 365 CE/CRM & Power
Platform connect to softchief.com

More Related Content

What's hot

ASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP FundamentalsASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP Fundamentals
Ido Flatow
 
8 - OpenShift - A look at a container platform: what's in the box
8 - OpenShift - A look at a container platform: what's in the box8 - OpenShift - A look at a container platform: what's in the box
8 - OpenShift - A look at a container platform: what's in the box
Kangaroot
 
More the merrier: a microservices anti-pattern
More the merrier: a microservices anti-patternMore the merrier: a microservices anti-pattern
More the merrier: a microservices anti-pattern
Chris Richardson
 
Learning solid principles using c#
Learning solid principles using c#Learning solid principles using c#
Learning solid principles using c#
Aditya Kumar Rajan
 
Solid principles
Solid principlesSolid principles
Solid principles
Monica Rodrigues
 
LDAP
LDAPLDAP
Kubernates vs Openshift: What is the difference and comparison between Opensh...
Kubernates vs Openshift: What is the difference and comparison between Opensh...Kubernates vs Openshift: What is the difference and comparison between Opensh...
Kubernates vs Openshift: What is the difference and comparison between Opensh...
jeetendra mandal
 
Layered Software Architecture
Layered Software ArchitectureLayered Software Architecture
Layered Software Architecture
Lars-Erik Kindblad
 
Dependency injection presentation
Dependency injection presentationDependency injection presentation
Dependency injection presentation
Ahasanul Kalam Akib
 
What is Dependency Injection in Spring Boot | Edureka
What is Dependency Injection in Spring Boot | EdurekaWhat is Dependency Injection in Spring Boot | Edureka
What is Dependency Injection in Spring Boot | Edureka
Edureka!
 
software-architecture-patterns
software-architecture-patternssoftware-architecture-patterns
software-architecture-patternsPallav Kumar
 
JavaScript Control Statements I
JavaScript Control Statements IJavaScript Control Statements I
JavaScript Control Statements I
Reem Alattas
 
Linq
LinqLinq
An intro to Docker, Terraform, and Amazon ECS
An intro to Docker, Terraform, and Amazon ECSAn intro to Docker, Terraform, and Amazon ECS
An intro to Docker, Terraform, and Amazon ECS
Yevgeniy Brikman
 
CSharp Presentation
CSharp PresentationCSharp Presentation
CSharp Presentation
Vishwa Mohan
 
Microservices
MicroservicesMicroservices
Microservices
Stephan Lindauer
 
The Beginner’s Guide To Spring Cloud
The Beginner’s Guide To Spring CloudThe Beginner’s Guide To Spring Cloud
The Beginner’s Guide To Spring Cloud
VMware Tanzu
 
Object-oriented Programming-with C#
Object-oriented Programming-with C#Object-oriented Programming-with C#
Object-oriented Programming-with C#Doncho Minkov
 

What's hot (20)

ASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP FundamentalsASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP Fundamentals
 
8 - OpenShift - A look at a container platform: what's in the box
8 - OpenShift - A look at a container platform: what's in the box8 - OpenShift - A look at a container platform: what's in the box
8 - OpenShift - A look at a container platform: what's in the box
 
More the merrier: a microservices anti-pattern
More the merrier: a microservices anti-patternMore the merrier: a microservices anti-pattern
More the merrier: a microservices anti-pattern
 
Learning solid principles using c#
Learning solid principles using c#Learning solid principles using c#
Learning solid principles using c#
 
Solid principles
Solid principlesSolid principles
Solid principles
 
LDAP
LDAPLDAP
LDAP
 
Kubernates vs Openshift: What is the difference and comparison between Opensh...
Kubernates vs Openshift: What is the difference and comparison between Opensh...Kubernates vs Openshift: What is the difference and comparison between Opensh...
Kubernates vs Openshift: What is the difference and comparison between Opensh...
 
Oops concept on c#
Oops concept on c#Oops concept on c#
Oops concept on c#
 
Ldap intro
Ldap introLdap intro
Ldap intro
 
Layered Software Architecture
Layered Software ArchitectureLayered Software Architecture
Layered Software Architecture
 
Dependency injection presentation
Dependency injection presentationDependency injection presentation
Dependency injection presentation
 
What is Dependency Injection in Spring Boot | Edureka
What is Dependency Injection in Spring Boot | EdurekaWhat is Dependency Injection in Spring Boot | Edureka
What is Dependency Injection in Spring Boot | Edureka
 
software-architecture-patterns
software-architecture-patternssoftware-architecture-patterns
software-architecture-patterns
 
JavaScript Control Statements I
JavaScript Control Statements IJavaScript Control Statements I
JavaScript Control Statements I
 
Linq
LinqLinq
Linq
 
An intro to Docker, Terraform, and Amazon ECS
An intro to Docker, Terraform, and Amazon ECSAn intro to Docker, Terraform, and Amazon ECS
An intro to Docker, Terraform, and Amazon ECS
 
CSharp Presentation
CSharp PresentationCSharp Presentation
CSharp Presentation
 
Microservices
MicroservicesMicroservices
Microservices
 
The Beginner’s Guide To Spring Cloud
The Beginner’s Guide To Spring CloudThe Beginner’s Guide To Spring Cloud
The Beginner’s Guide To Spring Cloud
 
Object-oriented Programming-with C#
Object-oriented Programming-with C#Object-oriented Programming-with C#
Object-oriented Programming-with C#
 

Similar to C#.net interview questions for dynamics 365 ce crm developers

OOP interview questions & answers.
OOP interview questions & answers.OOP interview questions & answers.
OOP interview questions & answers.
Questpond
 
M.c.a. (sem iv)- java programming
M.c.a. (sem   iv)- java programmingM.c.a. (sem   iv)- java programming
M.c.a. (sem iv)- java programming
Praveen Chowdary
 
Php oop (1)
Php oop (1)Php oop (1)
Php oop (1)
Sudip Simkhada
 
oopsinvb-191021101327.pdf
oopsinvb-191021101327.pdfoopsinvb-191021101327.pdf
oopsinvb-191021101327.pdf
JP Chicano
 
Oops in vb
Oops in vbOops in vb
Oops in vb
Dalwin INDIA
 
MCA NOTES.pdf
MCA NOTES.pdfMCA NOTES.pdf
MCA NOTES.pdf
RAJASEKHARV10
 
C# interview
C# interviewC# interview
C# interview
ajeesharakkal
 
Polymorphism and interface in vb.net
Polymorphism and interface in vb.netPolymorphism and interface in vb.net
Polymorphism and interface in vb.net
KarthigaGunasekaran1
 
java oops compilation object class inheritance.pptx
java oops compilation object class inheritance.pptxjava oops compilation object class inheritance.pptx
java oops compilation object class inheritance.pptx
CHERUKURIYUVARAJU209
 
Object Oriented Programming In .Net
Object Oriented Programming In .NetObject Oriented Programming In .Net
Object Oriented Programming In .Net
Greg Sohl
 
POP vs OOP Introduction
POP vs OOP IntroductionPOP vs OOP Introduction
POP vs OOP Introduction
Hashni T
 
Fundamentals of oops in .Net
Fundamentals of oops in .NetFundamentals of oops in .Net
Fundamentals of oops in .Net
Harman Bajwa
 
Dot Net Interview Questions - Part 1
Dot Net Interview Questions - Part 1Dot Net Interview Questions - Part 1
Dot Net Interview Questions - Part 1
ReKruiTIn.com
 
OOPS_Unit_1
OOPS_Unit_1OOPS_Unit_1
OOPS_Unit_1
Shipra Swati
 
Object oriented programing
Object oriented programingObject oriented programing
Object oriented programing
Jamaluddin Malakzai
 
C++ interview question
C++ interview questionC++ interview question
C++ interview question
Durgesh Tripathi
 
Core_Java_Interview.pdf
Core_Java_Interview.pdfCore_Java_Interview.pdf
Core_Java_Interview.pdf
ansariparveen06
 
EEE oops Vth semester viva questions with answer
EEE oops Vth semester viva questions with answerEEE oops Vth semester viva questions with answer
EEE oops Vth semester viva questions with answer
Jeba Moses
 

Similar to C#.net interview questions for dynamics 365 ce crm developers (20)

OOP interview questions & answers.
OOP interview questions & answers.OOP interview questions & answers.
OOP interview questions & answers.
 
M.c.a. (sem iv)- java programming
M.c.a. (sem   iv)- java programmingM.c.a. (sem   iv)- java programming
M.c.a. (sem iv)- java programming
 
Php oop (1)
Php oop (1)Php oop (1)
Php oop (1)
 
oopsinvb-191021101327.pdf
oopsinvb-191021101327.pdfoopsinvb-191021101327.pdf
oopsinvb-191021101327.pdf
 
Oops in vb
Oops in vbOops in vb
Oops in vb
 
C# concepts
C# conceptsC# concepts
C# concepts
 
My c++
My c++My c++
My c++
 
MCA NOTES.pdf
MCA NOTES.pdfMCA NOTES.pdf
MCA NOTES.pdf
 
C# interview
C# interviewC# interview
C# interview
 
Polymorphism and interface in vb.net
Polymorphism and interface in vb.netPolymorphism and interface in vb.net
Polymorphism and interface in vb.net
 
java oops compilation object class inheritance.pptx
java oops compilation object class inheritance.pptxjava oops compilation object class inheritance.pptx
java oops compilation object class inheritance.pptx
 
Object Oriented Programming In .Net
Object Oriented Programming In .NetObject Oriented Programming In .Net
Object Oriented Programming In .Net
 
POP vs OOP Introduction
POP vs OOP IntroductionPOP vs OOP Introduction
POP vs OOP Introduction
 
Fundamentals of oops in .Net
Fundamentals of oops in .NetFundamentals of oops in .Net
Fundamentals of oops in .Net
 
Dot Net Interview Questions - Part 1
Dot Net Interview Questions - Part 1Dot Net Interview Questions - Part 1
Dot Net Interview Questions - Part 1
 
OOPS_Unit_1
OOPS_Unit_1OOPS_Unit_1
OOPS_Unit_1
 
Object oriented programing
Object oriented programingObject oriented programing
Object oriented programing
 
C++ interview question
C++ interview questionC++ interview question
C++ interview question
 
Core_Java_Interview.pdf
Core_Java_Interview.pdfCore_Java_Interview.pdf
Core_Java_Interview.pdf
 
EEE oops Vth semester viva questions with answer
EEE oops Vth semester viva questions with answerEEE oops Vth semester viva questions with answer
EEE oops Vth semester viva questions with answer
 

More from Sanjaya Prakash Pradhan

Client script best practices in Model driven Power Apps
Client script best practices in Model driven Power AppsClient script best practices in Model driven Power Apps
Client script best practices in Model driven Power Apps
Sanjaya Prakash Pradhan
 
Top picks from 2021 release wave 2 - Power Platform
Top picks from 2021 release wave 2 - Power PlatformTop picks from 2021 release wave 2 - Power Platform
Top picks from 2021 release wave 2 - Power Platform
Sanjaya Prakash Pradhan
 
Dynamics 365 CRM Introduction
Dynamics 365 CRM IntroductionDynamics 365 CRM Introduction
Dynamics 365 CRM Introduction
Sanjaya Prakash Pradhan
 
How to become a successful developer in dynamics 365
How to become a successful developer in dynamics 365How to become a successful developer in dynamics 365
How to become a successful developer in dynamics 365
Sanjaya Prakash Pradhan
 
Syllabus for Dynamics 365 CRM/ CE Functional Consultant Course
Syllabus for Dynamics 365 CRM/ CE Functional Consultant CourseSyllabus for Dynamics 365 CRM/ CE Functional Consultant Course
Syllabus for Dynamics 365 CRM/ CE Functional Consultant Course
Sanjaya Prakash Pradhan
 
How to use power automate in power virtual agent
How to use power automate in power virtual agentHow to use power automate in power virtual agent
How to use power automate in power virtual agent
Sanjaya Prakash Pradhan
 
Working with entities and data in CDS - Power Platform
Working with entities and data in CDS - Power PlatformWorking with entities and data in CDS - Power Platform
Working with entities and data in CDS - Power Platform
Sanjaya Prakash Pradhan
 
Create a simple and elegant bootstrap registration page
Create a simple and elegant bootstrap registration pageCreate a simple and elegant bootstrap registration page
Create a simple and elegant bootstrap registration page
Sanjaya Prakash Pradhan
 
13 technologies all dynamics crm developers must know
13 technologies all dynamics crm developers must know13 technologies all dynamics crm developers must know
13 technologies all dynamics crm developers must know
Sanjaya Prakash Pradhan
 
Custom Workflow Quick Notes
Custom Workflow Quick NotesCustom Workflow Quick Notes
Custom Workflow Quick Notes
Sanjaya Prakash Pradhan
 
Course003 plugins chapters
Course003 plugins chaptersCourse003 plugins chapters
Course003 plugins chapters
Sanjaya Prakash Pradhan
 
Dynamics 365 CRM Javascript Customization
Dynamics 365 CRM Javascript CustomizationDynamics 365 CRM Javascript Customization
Dynamics 365 CRM Javascript Customization
Sanjaya Prakash Pradhan
 
Introduction Dynamics 365 CRM
Introduction Dynamics 365 CRMIntroduction Dynamics 365 CRM
Introduction Dynamics 365 CRM
Sanjaya Prakash Pradhan
 
D365 Dialogs Concepts & Facts
D365 Dialogs Concepts & FactsD365 Dialogs Concepts & Facts
D365 Dialogs Concepts & Facts
Sanjaya Prakash Pradhan
 

More from Sanjaya Prakash Pradhan (14)

Client script best practices in Model driven Power Apps
Client script best practices in Model driven Power AppsClient script best practices in Model driven Power Apps
Client script best practices in Model driven Power Apps
 
Top picks from 2021 release wave 2 - Power Platform
Top picks from 2021 release wave 2 - Power PlatformTop picks from 2021 release wave 2 - Power Platform
Top picks from 2021 release wave 2 - Power Platform
 
Dynamics 365 CRM Introduction
Dynamics 365 CRM IntroductionDynamics 365 CRM Introduction
Dynamics 365 CRM Introduction
 
How to become a successful developer in dynamics 365
How to become a successful developer in dynamics 365How to become a successful developer in dynamics 365
How to become a successful developer in dynamics 365
 
Syllabus for Dynamics 365 CRM/ CE Functional Consultant Course
Syllabus for Dynamics 365 CRM/ CE Functional Consultant CourseSyllabus for Dynamics 365 CRM/ CE Functional Consultant Course
Syllabus for Dynamics 365 CRM/ CE Functional Consultant Course
 
How to use power automate in power virtual agent
How to use power automate in power virtual agentHow to use power automate in power virtual agent
How to use power automate in power virtual agent
 
Working with entities and data in CDS - Power Platform
Working with entities and data in CDS - Power PlatformWorking with entities and data in CDS - Power Platform
Working with entities and data in CDS - Power Platform
 
Create a simple and elegant bootstrap registration page
Create a simple and elegant bootstrap registration pageCreate a simple and elegant bootstrap registration page
Create a simple and elegant bootstrap registration page
 
13 technologies all dynamics crm developers must know
13 technologies all dynamics crm developers must know13 technologies all dynamics crm developers must know
13 technologies all dynamics crm developers must know
 
Custom Workflow Quick Notes
Custom Workflow Quick NotesCustom Workflow Quick Notes
Custom Workflow Quick Notes
 
Course003 plugins chapters
Course003 plugins chaptersCourse003 plugins chapters
Course003 plugins chapters
 
Dynamics 365 CRM Javascript Customization
Dynamics 365 CRM Javascript CustomizationDynamics 365 CRM Javascript Customization
Dynamics 365 CRM Javascript Customization
 
Introduction Dynamics 365 CRM
Introduction Dynamics 365 CRMIntroduction Dynamics 365 CRM
Introduction Dynamics 365 CRM
 
D365 Dialogs Concepts & Facts
D365 Dialogs Concepts & FactsD365 Dialogs Concepts & Facts
D365 Dialogs Concepts & Facts
 

Recently uploaded

How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 

Recently uploaded (20)

How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 

C#.net interview questions for dynamics 365 ce crm developers

  • 1. Softchief Learn www.softchief.com | +91-8328865778 10 C#.NET Interview Questions for Dynamics 365 CE/CRM Developers Copyright @ softchieflearn
  • 2. 1.Can you explain about the OOPS concept in Microsoft .NET? Answer : OOPS is a concept of modern programming language that allows programmers to organize classes, objects and four key concepts of OOPs are abstraction, encapsulation, inheritance and polymorphism. A class is a blueprint of an object that contains variables for storing data and functions to perform operations on the data. Objects are the basic run-time entities of an object oriented system. They may represent a person, a place or any item that the program must handle. Abstraction is the process of hiding the working style of an object, and showing the information of an object in an understandable manner. Wrapping up a data member and a method together into a single unit (in other words class) is called Encapsulation. When a class includes a property of another class it is known as inheritance. Polymorphism means one name, many forms. One function can be called for different types of parameters. Two types compile time and run-time polymorphism. Refer site for more practice : https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/tutorials/oop
  • 3. 2.What is a sealed class and what is the benefit of using it? Answer : Sealed classes are used to restrict the inheritance feature of object oriented programming. Once a class is defined as a sealed class, this class cannot be inherited. 3.Can you explain about access specifiers in C# .NET? Answer : There are 5 access specifiers in .NET. They are given below. private: limits the accessibility of a member to within the defined type, for example if a variable or a function is being created in a ClassA and declared as private then another ClassB can't access that. public: has no limits, any members or types defined as public can be accessed within the class, assembly even outside the assembly. Most DLLs are known to be produced by public class and members written in a .cs file. internal: internal plays an important role when you want your class members to be accessible within the assembly. An assembly is the produced .dll or .exe from your .NET Language code (C#). Hence, if you have a C# project that has ClassA, ClassB and ClassC then any internal type and members will become accessible across the classes within the assembly. protected: plays a role only when inheritance is used. In other words, any protected type or member becomes accessible when a child is inherited by the parent. In other cases (when no inheritance) protected members and types are not visible. Protected internal: is a combination of protected and internal both. A protected internal will be accessible within the assembly due to its internal flavor and also via inheritance due to its protected flavor.
  • 4. 4.Which design pattern you used in your projects in C# .NET? Answer : The Singleton design pattern is one of the simplest design patterns. This pattern ensures that the class has only one instance and provides a global point of access to it. The pattern ensures that only one object of a specific class is ever created. 5.What is a namespace and assembly in C# .NET? Answer : A Namespace provides the fundamental unit of logical code grouping while an assembly provides a fundamental unit of physical code grouping. Namespace. Namespaces is a logical group of related classes that can be used by any other language targeting Microsoft . Net framework . 6.What is a WEB API and how can a WEB API can be accessed in C# .NET? Answer : API stands for Application Programming Interface. API is actually some kind of interface which has a set of functions. These set of functions will allow programmers to acquire some specific features or the data of an application. Web API is an API as the name suggests, it can be accessed over the web using the HTTP protocol. It is a framework that helps you to create and develop HTTP based RESTFUL services. The web API can be developed by using different technologies such as java, ASP.NET, etc. Web API is used in either a web server or a web browser. Basically Web API is a web development concept. It is limited to Web Application’s client-side and also it does not include a web server or web browser details. If an application is to be used on a distributed system and to provide services on different devices like laptops, mobiles, etc then web API services are used. Web API is the enhanced form of the web application. We can use verbs like Get, Post, Put, Delete etc to interact with the WEB API.
  • 5. 7.Can you explain boxing and unboxing in .NET? Answer : Boxing is the process of converting a value type to the type object or to any interface type implemented by this value type. When the common language runtime (CLR) boxes a value type, it wraps the value inside a System.Object instance and stores it on the managed heap. Unboxing extracts the value type from the object. Boxing is implicit; unboxing is explicit. The concept of boxing and unboxing underlies the C# unified view of the type system in which a value of any type can be treated as an object. 8.What is DLL and EXE in .NET? Answer : EXE : An exe always runs in its own address space i.e.. It is a separate process.The purpose of an EXE is to launch a separate application of its own. DLL : A dll always needs a host exe to run. i.e., it can never run in its own address space. The purpose of a DLL is to have a collection of methods/classes which can be re-used from some other application. DLL is Microsoft's implementation of a shared library. 9.What do you understand by signing an assembly in C#? Answer : A very important reason to sign an assembly is so you can be sure it is your assembly. Since the private key is yours, nobody else can sign an assembly with that same key.
  • 6. 10. What is abstract class and interface in C# and differences? Answer : Abstract Class Interface It contains both declaration and definition parts. It contains only a declaration part. Multiple inheritance is not achieved by abstract class. Multiple inheritance is achieved by interface. It contains a constructor. It does not contain a constructor. It can contain static members. It does not contain static members. It can contain different types of access modifiers like public, private, It only contains a public access modifier because everything in the interface is public.
  • 7. protected etc. The performance of an abstract class is fast. The performance of the interface is slow because it requires time to search the actual method in the corresponding class. It is used to implement the core identity of class. It is used to implement peripheral abilities of class. A class can only use one abstract class. A class can use multiple interfaces. If many implementations are of the same kind and use common behavior, then it is superior to use abstract classes. If many implementations only share methods, then it is superior to use Interface. Abstract classes can contain methods, fields, constants, etc. Interface can only contain methods .
  • 8. It can be fully, partially or not implemented. It should be fully implemented. Thank You…. For Training in Dynamics 365 CE/CRM & Power Platform connect to softchief.com