Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books
Content
Asp.net
Vb.net
Remoting.net
UML
C#.net
SQL Server
.Net Web Service
Database concepts
Oracle FAQs
Java FAQs
JDBC FAQs
JSP FAQs
JMS FAQs
J2ME FAQs
EJB FAQs
Servlets FAQs
Struts FAQs
Project Management
Personal Interview
Working from Home
CV
Cover Letter
Interview Tips
Books by publishers
Packt Publishing Ltd
Pearson Education
Hiring companies
Hexaware Technologies
Country Club India Ltd
CM Software Pvt. Ltd
DOEACC Calicut
Crest Consultants

C#.NET


By Nishant Kumar

ASP.NET Tutorial
VB.NET Tutorial
Remoting.NET Tutorial
Web Service Tutorial
Remoting.net Overview
ADO.NET Tutorial
UML Tutorial
C#.NET Tutorial
Sql Server Tutorial

C#.NET Tutorial

  • C#.NET is a major component of Microsoft Visual Studio .NET suite.  
  • Being part of VS.net suite, C#.NET can access a common .NET library and supports all CLS features.
  • C#.NET is a full object oriented language which supports inheritance, overloading, interfaces, shared members and constructors. 
  • .Net Framework is a primary element for software development in VS.Net suite.
  • .Net Framework includes loads of code required for application development.
  • .Net Framework is divided into CLS (Common language Runtime) and Base class Library.
  • CLS provides many service required for execution of application developed in .Net platform
  • Today's Hot Jobs
    > Webdesigner
    > RESORT MANAGER
    > Opportunity for Call Centres
    > Project Manager Java, J2EE, Oracle
    > SQL Server & VB developer
    > PHP Developer - Mambo,Moodle
    > Corporate Trainer - .NET
    > Team Leader - Java
    > Oracle Developer
    > Charterted Accountant
    Search more Jobs   |   Job Seekers   |   Employers

    • Base Class library has many pre-developed classes that can be used by the developer.
    • Base Class library is organized into namespaces.
    • Assembly is a primary unit of the .Net application.
    • Assembly contains manifest which describes the assembly and its modules.
    • Modules contain source code for the application.
    • An assembly may exist in the form of either DLL or .Exe.
    • An assembly is stored as an intermediate language (IL) file. Before running, the assembly goes through security check against the local system. After having cleared from security check, it gets loaded into memory and compiled into native code by JIT compiler.
    • A variable in .Net can be of two types.
    • Value type and reference type.
    • Value type contains data of the type whereas reference type contains pointer to an instance of an object of that type.
    • Value type is created at the time of declaration whereas reference type must be instantiated after declaration to create object.
    • If we assign a reference type variable to another reference type variable, only reference to the object is copied, not value and both the variable will refer to the same object.
    • Use of 'using' keyword will allow to reference to the member of a namespace. Classes and structures contain data and methods. Methods perform data manipulation and provide behavior to classes and structures. Method can return values. The method which returns value is called as Function and which doesn’t return value is called as Subs.
    • Method can have parameters that are passed by value by default. We can pass parameters by reference with the ref keyword in C#.net and byref in VB.Net.
    • The constructor is like any method of the class, but gets created before the object is available for use. This is the first method to get called on the instantiation of the class.
    • The Destructor is called just before an object is destroyed. It is used for code clean-up when object is no longer in use. Developer has no control when a destructor is called, since it gets called by CLR.
    • .Net Framework provides utility like Garbage collection.
    • The Garbage Collection is responsible for automatic memory reclamation when object is no more in use.
    • The Garbage Collection is a low-priority thread that runs in the background of the application.
    • The GC gets high priority when memory resource is scarce.
    • We should remember that GC is called by CLR, so developer has no control when GC is called. So, we shouldn’t rely on the code placed inside destructors or finalizers. If we need to reclaim recourses urgently, we can use dispose () method which can be called explicitly.
    • The GC also gets ride of circular references, commonly known as memory leak.
    • Form is the basic unit of user interface. We can add form in the application at design time or run time. We can create one general parent form and can inherit forms from parent form using visual inheritance. While using visual inheritance, we ensures uniform look to all the forms of the application.
    • Forms have various properties that control their appearance, namely text, font, cursor, background Image, Opacity, backcolor and forecolor.
    • Forms have various intrinsic methods like Form.show, form.showdialog, form.activate, form.hide and form.close.
    • Form’s intrinsic methods cause changes in the visual interface and various events get raised like load, activated/deactivate, visiblechanged, closing, closed.
    • We can also create our own event handler which will get called when associated event is raised.
    • Each control on the form can have order of navigation which can be set using tabindex property of the control.
    • A control can contain other controls. For example panel, groupbox and tabpage.
    • We can resize and change position of the form and controls on it, manually. We can make use of docking and anchor properties for automatic resizing and positioning of the controls as we change size or position of the form.
    • Dock property ensures the controls to an edge of the form on change in size or repositioning of the form.
    • Anchor property ensures if controls should be fixed, floats, or change size in response to the change in size of form.
    • We can create control at run-time by declaring control and instantiating of the type. We can then add instantiated control to the control collection of the form.
    • Each control’s property on the form can be enhanced by using Extender Provider component. These properties mostly used to provide information to the user like help or tool tip.
    • Menu is the best navigation way in the application. We can create MainMenu control that allows rapid creating of menu for the application. Developer can apply separator bars, access keys and shortcut keys.
    • Context menu allows us to get access to various commands on the specific situation.
    • Developer can create this kind of menu same as MainMenu but at run-time.
    • We can control the menu dynamically at run-time. We can enable and disable the menu items, make menu items invisible etc. We can change the structure of menu dynamically at run-time by creating new menu with the CloneMenu method.
    • We can have form-level validation as well as field level validations.
    • We can validate each field as data entered using field-level validation.
    • We can validate all fields of the form at one shot using form-level validation.
    • The textbox control contains properties like MaxLength, PasswordChar, ReadOnly, Multiline. These properties are used to restrict user to enter unwanted data in the field. Developer can tap keyboard events of the control like Keydown, KeyUp and Keypress.
    • Developer can validate character input by using static methods of char structure like char.IsDigit, CharIsletter, Char.Islower, Char.IsUpper etc.
    • The CauseValidation property of the control allows us to disable the event to occur. The event occurs only when CauseValidation property of the control is set to true.
    • We can set CancelEventArgs.Cancel property to true in the event handler to restrict focus from moving away from the control.
    • The ErrorProvoider component of the control can be used at run time for displaying informative error message to the user.

    Related Links

    >NET Access Modifiers
    >Net Architecture
    >NET Assemblies and Resources
    >NET Base class library
    >NET Binding, viewing, filtering
    >NET Class and Structures
    >NET Common Language Runtime
    >NET Configuring and optimizing
    >NET Configuring setup project
    >NET Constants, Enum, Arrays, collection
    >NET Constructors and destructors
    >NET Control
    >NET Dataset objects
    >NET Data Types
    >NET Debugging Tools
    >NET Debug and trace classes
    >NET Delegates and events
    >NET Exception handling
    >NET Form
    >NET Garbage collection
    >NET Globalization and localization
    >NET Interoperability
    >NET Menu
    >NET Project Deployment
    >NET Properties
    >NET Securing Application
    >NET Using XML in ADO.NET
    >NET Validating User Input
    >NET Windows communication foundation
    >Net Windows presentation foundation
    >Net Windows workflow foundation


    ASP.NET Interview questions part 1 
    ASP.NET Interview questions part 3  
    ASP.NET Interview questions part 5 
    .NET Code Security Interview questions
    .NET Debug & Trace Interview questions 
    ASP.NET Caching Interview questions
    ASP.NET Globalization-Localization questions
    ASP.NET Session State Management questions
    ASP.NET Validation Control questions
    C#.NET Interview questions answer part 2
    C#.NET Interview questions answer part 4
    SQL Server Interview questions part1
    SQL Server Interview questions part3
    SQL Server Interview questions part5
    Interview - SQL Server Replication
    VB.NET Interview questions part 2
    VB.NET Interview questions part 4
    UML Interview questions
    XML Web Service Interview questions  
    Personal Interview questions
    Remoting.Net Interview questions
    ASP.NET Interview questions part 2
    ASP.NET Interview questions part 4
    .Net Framework Interview Questions
    .NET Assembly Interview questions
    ASP.NET Authentication Authorization Questions
    ASP.NET Exception Handling Interview questions
    ASP.NET Master Pages questions
    ASP.NET State Management Interview questions
    C#.NET Interview questions answer part 1
    C#.NET Interview questions answer part 3
    C#.Net Interview questions answer part 5
    SQL Server Interview questions part2
    SQL Server Interview questions part4
    Interview Questions on SQL Server Cursor
    VB.NET Interview questions part 1
    VB.NET Interview questions part 3
    VB.NET Interview questions part 5

    ASP.NET Tutorial 
    UML Tutorial    
    Sql Server Tutorial
    VB.NET Tutorial
    C#.NET Tutorial 
    Remoting.net Overview
    Remoting.NET Tutorial
    Web Service Tutorial 
    ADO.NET Tutorial


    Resources on Career, CV, Cover Letter, Interview, Work From Home etc.

    How to search for a job?
    Tips for effective job hunt and interview dealing.
    How to write a good CV?
    Effective CV writing increases chances of getting an interview call.
    Dos and Don'ts of CV writing
    Tips on getting your CV correct the first time for effective job search.
    How to write a good Cover Letter?
    A good Cover Letter ensures that the CV is read. Here are tips to write a good Cover Letter.
    Dos and Don'ts of writing a Cover Letter
    What you should and shouldn’t write in a Cover Letter.
    Personal Interview-FAQ
    Answers to the frequently asked questions of a personal interview and tips on handling the tricky questions.
    Negotiating the Salary during the Interview

    Salary offered for a job during the interview depends on negotiation. 
    Quitting the job?-Don't burn those bridges.
    Tips on tendering your resignation when you want to leave your present job.
    How to write a resignation Letter?
    Tendering a resignation letter without spoiling relationship with the current employer while you join the new job.
    How to handle gap in employment?
    Ideas on writing your CV, Cover Letter and handling the interview if you have a gap in your employment.
    Work Online from home-Earn Extra income.
    An insight into the work from home career options, the advantages and disadvantages of working from home & what it takes to work from home. Know what you can do to work from home and how you can do it.
    Sample CV-generic.
    Simplest type of sample CV. Also suitable for the just out of college candidates trying to hunt for a job.
    Sample CV for candidates with good work experience but less qualification
    Sample CV for those who have a good work experience but are less qualified for a job.
    Sample CV for candidates who have switched many jobs
    If you have switched many jobs in a short duration of time, this sample CV can help you.
    Sample CV for redundant employees/unemployed, experienced candidates
    Employed in the past but jobless now? This sample CV should help you write your CV and secure an interview call.
    Sample Cover letter-In response to the job notification
    Sample cover letter to accompany the CV for a notified job.
    Sample Cover letter-Unsolicited Applications
    Applying to a company which has not advertised its job vacancies? This Sample Cover Letter with CV increases chances of getting an interview call.
    Sample cover letter to a placement agency
    Want the placement agencies to remember you when they get a job opening? This Sample Cover Letter helps you do that.
    New content
    Oracle
    Oracle Interview
    Java
    Java Interview
    Wireless System
    What is a Wireless System?
    Understanding Ajax
    What is Ajax? Benefits and problem with Ajax
    Object-Oriented
    Learn JavaScript's OOP features
    ASP.NET
    Working with ASP.NET DataList Control
    Sql Server
    How to transfer or export SQL Server 2005 data to Excel.
    Group Discussion
    8 things you should NOT do in a GD
    Work from home
    10 Ideas to work from home
    Subject Matter Expert
    SME-An enriching and lucrative career option
    .Net Remoting
    Know all about .Net Remoting
    Interview success tips
    Answers to all personal interview questions
    CVs
    CV writing tips and sample CVs
    Copyright © 2008 CareerRide.com. All rights reserved.