.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rating: Thread Rating: 15 votes, 4.13 average. Display Modes
 
Unread ASP Free Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #16  
Old September 16th, 2004, 08:13 AM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,738 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 1 h 31 m 55 sec
Reputation Power: 443
To prevent a class from being inherited you can do this.

NotInheritable and sealed prevent the class from being Inheritied.
VB.NET
Code:
Public NotInheritable Class MyClass
   Class code here
End Class


C#
Code:
sealed class MyClass
{
   Class code here
}

You can implement (Inherit) from only one class, but you can implement numerous Interfaces.

Reply With Quote
  #17  
Old September 17th, 2004, 09:25 AM
prijag prijag is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 4 prijag User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks

Quote:
Originally Posted by Memnoch
To prevent a class from being inherited you can do this.

NotInheritable and sealed prevent the class from being Inheritied.
VB.NET
Code:
Public NotInheritable Class MyClass
Class code here
End Class


C#
Code:
sealed class MyClass
{
Class code here
}

You can implement (Inherit) from only one class, but you can implement numerous Interfaces.

Reply With Quote
  #18  
Old September 17th, 2004, 09:52 AM
prijag prijag is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 4 prijag User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question

How do u call multiple methods sequentially?(Related to DELEGATES)
wat is meant by Global CACHE?

Reply With Quote
  #19  
Old November 30th, 2004, 01:20 PM
abilash_m81 abilash_m81 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 5 abilash_m81 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Interview questions are invaluable! Plz keep updating! -Abhilash Matlapudi

Quote:
Originally Posted by Memnoch
There have been many request for interview questions and answers. So, I figured instead of having 100+ people posting to have these answers, I would just post them here.

Below are .doc (MS Word) files containing interview questions and answers over .NET...Enjoy!

For more questions, you can go to www.techinterviews.com

These Interview questions are invaluable! The topics which are given here are really frequently asked and thus very useful and helpful to all. I REQUEST U TO KEEP UPDATING THIS FOLDER WITH NEW AND MORE DATA.

Inspite of these I request u to add following to this list. These are my personal collection of Frequently asked topics:-

Smart Clients, GAC, Webservices
UML,XML,DHTML, 3tier architecture in .NET development.
Unidata, UniObjects,SOAP
CSS (Cascading Style Sheet)
XSLT, COM,ActiveX
complex stored procedures, command/batch files
Biz talk server.,Messaging, metadata, implementing custom adapters.


Plz keep updating with above topics which are really required by the current industry with necessary code in C# preferably!

Regards,
Abhilash Matlapudi

Reply With Quote
  #20  
Old November 30th, 2004, 07:28 PM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,738 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 1 h 31 m 55 sec
Reputation Power: 443
Quote:
Originally Posted by prijag
How do u call multiple methods sequentially?(Related to DELEGATES)
wat is meant by Global CACHE?

Do some research on Multicast Delegates.

The global (assembly) cache is a repository for commonly used dlls.
Example, if I created a dll that contained all of my necessary database connectivity functionality and wanted to allow all applications to use it. I would place it in the GAC. Instead of just copying the dll into the bin folder of every application.
This also has an affect on memory usage. When a dll is located in the GAC, it is only stored in memory once. Where as if you copied the dll into the bin folder of every application, each application would create the same dll object in memory.

Reply With Quote
  #21  
Old November 30th, 2004, 07:31 PM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,738 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 1 h 31 m 55 sec
Reputation Power: 443
Quote:
Originally Posted by abilash_m81
These Interview questions are invaluable! The topics which are given here are really frequently asked and thus very useful and helpful to all. I REQUEST U TO KEEP UPDATING THIS FOLDER WITH NEW AND MORE DATA.

Inspite of these I request u to add following to this list. These are my personal collection of Frequently asked topics:-

Smart Clients, GAC, Webservices
UML,XML,DHTML, 3tier architecture in .NET development.
Unidata, UniObjects,SOAP
CSS (Cascading Style Sheet)
XSLT, COM,ActiveX
complex stored procedures, command/batch files
Biz talk server.,Messaging, metadata, implementing custom adapters.


Plz keep updating with above topics which are really required by the current industry with necessary code in C# preferably!

Regards,
Abhilash Matlapudi

I only do .NET related questions. If you want questions related to these other technologies I suggest you post them in their related forum area.

Reply With Quote
  #22  
Old December 18th, 2004, 12:04 AM
knkmurali knkmurali is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 2 knkmurali User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile Appreciation

The Interview Questions are Good. and Useful for the one who is attending interview and i really appreciate the service you have done. thanks..
--Murali

Reply With Quote
  #23  
Old December 22nd, 2004, 12:35 AM
Sony Sony is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Bangalore,India
Posts: 175 Sony User rank is Sergeant (500 - 2000 Reputation Level)Sony User rank is Sergeant (500 - 2000 Reputation Level)Sony User rank is Sergeant (500 - 2000 Reputation Level)Sony User rank is Sergeant (500 - 2000 Reputation Level)Sony User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 13 h 39 m 33 sec
Reputation Power: 15
Hey dude this is extremely good job u did these are some very good question for a asp a developer for facing an interview

Reply With Quote
  #24  
Old May 21st, 2005, 11:00 PM
hitmanattacks hitmanattacks is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 9 hitmanattacks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 52 m 55 sec
Reputation Power: 0
Thank you for the documents man.

hitman

Reply With Quote
  #25  
Old July 25th, 2005, 07:56 AM
juliusfromindia juliusfromindia is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 6 juliusfromindia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 52 m 17 sec
Reputation Power: 0
Shall i post some unanswered Qs?

Reply With Quote
  #26  
Old July 25th, 2005, 10:27 AM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,738 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 1 h 31 m 55 sec
Reputation Power: 443
If you have additional questions you want answered feel free to post them.

Reply With Quote
  #27  
Old August 19th, 2005, 02:11 AM
juliusfromindia juliusfromindia is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 6 juliusfromindia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 52 m 17 sec
Reputation Power: 0
Quote:
Originally Posted by Memnoch
If you have additional questions you want answered feel free to post them.
Hi,
i wish to display a result database for a school on a data grid. Is it possible to display them in different colors based on the marks of the students.If yes How?

Regards,
julius

Reply With Quote
  #28  
Old August 19th, 2005, 09:00 AM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,738 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 1 h 31 m 55 sec
Reputation Power: 443

Reply With Quote
  #29  
Old August 20th, 2005, 08:36 AM
sivaramanrajesh's Avatar
sivaramanrajesh sivaramanrajesh is offline
.NET Disciple
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Location: http://UAE/Dubai/Media-City/Nurture3.aspx
Posts: 349 sivaramanrajesh User rank is First Lieutenant (10000 - 20000 Reputation Level)sivaramanrajesh User rank is First Lieutenant (10000 - 20000 Reputation Level)sivaramanrajesh User rank is First Lieutenant (10000 - 20000 Reputation Level)sivaramanrajesh User rank is First Lieutenant (10000 - 20000 Reputation Level)sivaramanrajesh User rank is First Lieutenant (10000 - 20000 Reputation Level)sivaramanrajesh User rank is First Lieutenant (10000 - 20000 Reputation Level)sivaramanrajesh User rank is First Lieutenant (10000 - 20000 Reputation Level)sivaramanrajesh User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 19 h 58 m 30 sec
Reputation Power: 158
Thumbs up Answers Please......

These questions were asked in ASP.NET interview.

1. Suppose you want to add one more application variable, how will you add without stopping your application since it is live. Is it possible to do this. Explain.

2. If you change the web.config file of your application, will it affect the application on the fly, or the IIS need to be re-started.

Thanks

Rajesh Sivaraman.