25 C# interview questions and answers for experienced | Frequently asked interview questions | Hindi

  Рет қаралды 34,783

Code Elevate

Code Elevate

Күн бұрын

Пікірлер: 33
@theoceandragongaming
@theoceandragongaming Жыл бұрын
@26:31 - there is a twist, if the derived class has a static variable which is initialised by the parent variable. Then in that case the static constructor of parent will be called first.
@amjadkassar6605
@amjadkassar6605 9 ай бұрын
Thank you sir for this video. Very helpful this video. Please create video on the MVC questions
@rahulsalinskee7685
@rahulsalinskee7685 8 ай бұрын
In the case of Polymorphism: BaseClass Instance = new ChildClass(); Case 1: If base class method is not virtual (Not virtual means no override), then instance will invoke or call BaseClass method. Case 2: If base class method is virtual (virtual but not overridden), then instance will invoke or call BaseClass method. Case 3: If base class method is virtual and overridden in ChildClass, then instance will invoke or call ChildClass method. Case 4: If base class method is not virtual and used new keyword to hide BaseClass method in ChildClass, then instance will invoke or call BaseClass method. Case 5: If base class method is virtual and used new keyword to hide BaseClass method in ChildClass, then instance will invoke or call BaseClass method.
@AmirKhan-wo7cd
@AmirKhan-wo7cd Жыл бұрын
Please recheck the examples provided for overriding and method hiding.
@code_elevate
@code_elevate Жыл бұрын
Hello Amir, can you elaborate here what changes you are expecting.. feel free to add the details.. I always welcome improvement and correction.
@pravinpannase4230
@pravinpannase4230 Жыл бұрын
​@@code_elevate😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮
@preetipatil8354
@preetipatil8354 Жыл бұрын
When we use new keyword i.e method hiding always base class method gets call And in method overriding using override keyword derived class method gets call
@abhisheksrivastav3642
@abhisheksrivastav3642 10 ай бұрын
sir new ke case me do some work and override ke case me coding return karega
@Aman-x5g
@Aman-x5g Жыл бұрын
Keep uploading ❤
@pratikgaikwad4576
@pratikgaikwad4576 11 ай бұрын
@4.01 there u have given program to explain method hiding concepts but the output u showed seems to be wrong because in case of new keyword the method will be called based on reference/static type(Person) not Instance type(Employee) so output is "Doing some work", correct me if i am wrong.
@rahulsalinskee7685
@rahulsalinskee7685 8 ай бұрын
In the case of Polymorphism: BaseClass Instance = new ChildClass(); If base class method is not virtual (Not virtual means no override), then instance will invoke or call BaseClass method. If base class method is virtual (virtual but not overridden), then instance will invoke or call BaseClass method. If base class method is virtual and overridden in ChildClass, then instance will invoke or call ChildClass method. If base class method is not virtual and used new keyword to hide BaseClass method in ChildClass, then instance will invoke or call BaseClass method. If base class method is virtual and used new keyword to hide BaseClass method in ChildClass, then instance will invoke or call BaseClass method.
@naveenpujari8996
@naveenpujari8996 10 ай бұрын
bhai kya aap puniya parsoon bajpayee k parivaar se ho kya.. aap ka bolnae ka lahja same ha.. karntikari.. bhahut krantikari... bdw.. good touchbase on basics.
@dharmendrakumarsah7633
@dharmendrakumarsah7633 7 ай бұрын
Thank you for the video, can you check, During Polymorphism child class of New Keyword Means printing base class method and override means printing child method. Please check you have described opposite.
@dattatrayarsule3089
@dattatrayarsule3089 6 ай бұрын
you are correct
@Aman-x5g
@Aman-x5g Жыл бұрын
Sir can you also upload coding questions and answers
@Umairkhan-ou3rd
@Umairkhan-ou3rd 4 ай бұрын
How to handle scrnario type question
@code_elevate
@code_elevate 4 ай бұрын
This is very vast question.. but most of them you can answer if you practice.. mostly by creating small or big projects..
@ermahesh2009
@ermahesh2009 Жыл бұрын
good one
@code_elevate
@code_elevate Жыл бұрын
Stay tuned for a new video on advance c# interview questions.. coming soon..😊😊
@rohit.badgujar
@rohit.badgujar Жыл бұрын
Thank you for sharing :)
@code_elevate
@code_elevate Жыл бұрын
My pleasure! Rohit. 🙂
@MyBuddyVlogs25
@MyBuddyVlogs25 Жыл бұрын
I'm not agree with you that c# support multiple inheritance using interface, Inheritance means already code is written and we are accessing that with the child class object. When we are using interfaces then we are implementing that interfaces in the derive class. That means it's not following the inheritance rule. There is nothing to inherit from interface except their structure, which we are implementing in derive class
@code_elevate
@code_elevate Жыл бұрын
@@MyBuddyVlogs25 that is the question. Why it doesn't support multiple inheritance when it is the important characteristics of an object. That is why it uses interface to fulfill that..
@MyBuddyVlogs25
@MyBuddyVlogs25 Жыл бұрын
@@code_elevate no, it's correct, you are implementing the interfaces, not inheriting, the signature looks like inheritance but it's not the multiple inheritance, if I have to write something in my derive class while inheriting the interfaces then it's breaking the inheritance principles
@MyBuddyVlogs25
@MyBuddyVlogs25 Жыл бұрын
@@code_elevate why it's not support multiple inheritance you explained well, I agree with you for that
@codedtech75
@codedtech75 5 ай бұрын
👌
@priyankagupta-dg4qr
@priyankagupta-dg4qr 10 ай бұрын
Sir please help I have 9 LPA from Wipro and neosoft which company I should join as software developer?
@code_elevate
@code_elevate 10 ай бұрын
Wipro.. if package don't have much difference then choose branded company.. choose non branded company only when package difference is huge.
@abhisheksrivastav3642
@abhisheksrivastav3642 10 ай бұрын
this is wrong sir
@waqar8544
@waqar8544 5 ай бұрын
bihari he sir app?
@nathudev
@nathudev Жыл бұрын
Itna thik hai mat boliye, dhyan nahi lagta sirji.
@code_elevate
@code_elevate Жыл бұрын
Thik hai... 😉😉
Every team from the Bracket Buster! Who ya got? 😏
0:53
FailArmy Shorts
Рет қаралды 13 МЛН
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН
How to have fun with a child 🤣 Food wrap frame! #shorts
0:21
BadaBOOM!
Рет қаралды 17 МЛН
SOLID  Principal - Interview Questions and Answers
24:04
Interview Happy
Рет қаралды 129 М.
Top 26 c# advanced interview questions and answers | Hindi
39:50
Code Elevate
Рет қаралды 43 М.
Top 50 OOPS C# Interview Questions - .NET
3:05:33
Interview Happy
Рет қаралды 159 М.
LINQ in C# - Top 10 concepts everyone should know 🔥
17:54
The Engineer's Desk
Рет қаралды 23 М.
Most Important .NET Interview Questions You Must Know! 💼🔥
13:56
Top 10 Linux Job Interview Questions
16:04
tutoriaLinux
Рет қаралды 2,4 МЛН
Every team from the Bracket Buster! Who ya got? 😏
0:53
FailArmy Shorts
Рет қаралды 13 МЛН