Documente Academic
Documente Profesional
Documente Cultură
Chat with
us
GTalk:
DotNetFunda
Skype:
DotNetFunda
Home Tutorials Training Articles Interviews Career Advices Forums Codes Blogs Videos Jobs Community
News & Events | Tutorials >> ASP.NET, Silverlight, WPF, WWF, Dynamic Data, more ... | Downloads || Quick Links || Top Posts | Top Performers || .NET Feeds | Links ||
Subscribe | Search | Register
Interviews categories
.NET Framework ADO.NET AJAX Aptitude Test ASP.NET
Project Management Remoting, Web Services, XML, XSLT SharePoint Silverlight Software Testing - Quality Assurance
Submit | .NET Interview FAQs | Interview Home | Exclusive Interview Home | Search |
Now you don't need go anywhere to get the best interview questions on Microsoft technology. We are trying to gather all real interview
questions asked from MNC s and put them here. You can also assist us in doing so by submitting .net interview questions. These questions are
generally different from certification questions however it may help you in that too.
dotnetfunda.com/interview/ShowCatQuestion.aspx?… 1/10
2/21/2011 .NET Framework Interview questions Page 1
event:
delegate:
3)It is used as the return type of an event and used in passing messages from event to methods.
event-->delegate-->method
example:
namespace dd
{
//delegate declaration
delegate void first();
class cc
{
//event declaration
public first myevent;
}
Job Vacancies in
}
TCS
Exp: 0 to 13 Yrs.Sal:
example 2:
25k to 95k PM Apply
Now & get Multiple button1.Click+=new EventHandler(this.button1_Click);
Interviews (Windows Applications)
Tim e sJobs.com /TC S
PDF Object for ASP Click is the event that returns an instance of the EventHandler delegate.
& .NET EventHandler delegate has the reference of button1_Click event and that
PDF Forms, PDF-to- helps in the communication betwen the Click event and button1_Click method
Image, security
HTML-to-PDF, Difference between a Class and Component?
stitching, barcodes. P os ted by: D dd
www.asppdf.com
Free C# Component Class is a datatype that encloses data and function members.
dotnetfunda.com/interview/ShowCatQuestion.aspx?… 2/10
2/21/2011 p .NET Framework Interview questions Page 1
Free .NET security It can be used for implementing the various OOPS features.
component for user Component is a particular class that must implement the IComponent interface .It is the base class for all components
mgmt and access in the common language runtime that marshal by reference. Component is remotable and derives from the
control. MarshalByRefObject class.
www.PortSight.com /Se cur… IComponent interface belongs to System.ComponentModel namespace.
Bank of America Jobs 100s of New Openings Submit Resume to Apply Now MonsterIndia.com
SFTP components for .NET The fastest and the most powerful SFTP for VB.NET, C#, ASP.NET www.eldos.com/Secure
400+ Java/J2EE Q&A Java/J2EE interview FAQs answered with lots diagrams, examples & code www.lulu.com/java-succ
1)Components :
example: BackgroundWorker,
ImageList,
HelpProvider,
Timer
2)Printing:
example: PrintDocument, PrintDialog
3)Dialogs
example: ColorDialog,
SaveFileDialog
How can you specify the framework version targetted by your application?
P os ted by: D dd
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation targetFramework="4.0" />
</system.web>
</configuration>
What will be the output of this code? using System; class A { class B { public string str =
"welcome"; } } class Demo { static void Main() { B Obj = new B(); Console.WriteLine(Obj.str); } }
P os ted by: D dd
Answer:
Solution:
2)we have to give the full path of class B when creating the object
Environment.MachineName :
SystemInformation.ComputerName :
output:
Same as Environment.MachineName
Dns.GetHostName :
It gets host name of computer which refers to a domain name that has one or more associated IP adresses.
dotnetfunda.com/interview/ShowCatQuestion.aspx?… 5/10
2/21/2011 .NET Framework Interview questions Page 1
string s = textBox1.Text;
switch (s)
case String.Empty:
MessageBox.Show("blank");
break;
Vehicle Network Interface Network interface specialists. Equipment for industry and OEMs www.AVT-HQ.com
dotnetfunda.com/interview/ShowCatQuestion.aspx?… 6/10
2/21/2011 .NET Framework Interview questions Page 1
Vehicle Network Interface Network interface specialists. Equipment for industry and OEMs Q co
Labcaire Systems Ltd Safety cabs,Free service offer on all cabinet purchase before Aug 10 www.puricore.com
Interview Questions .Net , J2EE , PHP (Job Openings) Asp.Net , C#.net , JSP , EJP , Java www.PrepareForJob.com/inde
example:
public bank()
Console.WriteLine("bank");
icici()
Console.WriteLine("icici");
dotnetfunda.com/interview/ShowCatQuestion.aspx?… 7/10
2/21/2011 .NET Framework Interview questions Page 1
}
//Output:
What is Serialization?
P os ted by: D dd
Serialization:
It is the process through which we can convert an object into a format that can be persisted or transported.
During this process, the public and private fields of the object and the name of the class,including the assembly
containing the class, are converted to a stream of bytes,
which is then written to a data stream.
Serialization allows us to save the state of objects from memory to files.
It is most commonly used in Web Services/Remoting applications.
dotnetfunda.com/interview/ShowCatQuestion.aspx?… 8/10
2/21/2011 .NET Framework Interview questions Page 1
They are the methods used to deallocate the memory of the objects
Differences:
FINALIZE
2)It is automatically called by the Garbage Collection mechanism when the object goes out of the scope(usually at the
end of the program)
It is not called by the User Code.
class emp
{
//This is the destructor of emp class
~emp()
{
}
//This destructor is implicitly compiled to the Finalize method.
}
DISPOSE
Example: user interface Controls. Forms, SqlConnection class have built in implementaion of Dispose method.
There is no limit.
However, it depends upon the hardware space available and the performance
related parameters.
M E l i
dotnetfunda.com/interview/ShowCatQuestion.aspx?… NET F kI t i Q ti h 9/10
2/21/2011 .NET Framework Interview questions Page 1
More Exclusive .NET Framework Interview Questions here
300+ .NET Interview preparation videos are here
| More | Bookmark It
About Us | C ontact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further
action.
C opyright © DotNetFunda.C om. All Rights Reserved. C opying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference
purposes and they may be respective owner's right or trademarks. | 2/21/2011 1:22:09 PM
dotnetfunda.com/interview/ShowCatQuestion.aspx?… 10/10