Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

implementing interfaces and concept of assemblies

This is a discussion on implementing interfaces and concept of assemblies within the C# forums, part of the Software Development category; hi friends It wud b nice to u if u give me a simple explanation of the assemblies used for implementing c# programs n also how to implement interfaces...

Go Back   Geeks Talk > Software Development > C#
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 08-06-2008
Junior Member
 
Join Date: Aug 2008
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
arij1611 is on a distinguished road
implementing interfaces and concept of assemblies

hi friends
It wud b nice to u if u give me a simple explanation of the assemblies used for implementing c# programs n also how to implement interfaces
Reply With Quote
The Following User Says Thank You to arij1611 For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 11-13-2008
Junior Member
 
Join Date: Nov 2008
Location: Pune
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
priyatarlekar is on a distinguished road
Re: implementing interfaces and concept of assemblies

Quote:
Originally Posted by arij1611 View Post
hi friends
It wud b nice to u if u give me a simple explanation of the assemblies used for implementing c# programs n also how to implement interfaces
hi Interfaces cannot be implemented because interface consist of ony signatures of methods and no body. Interfaces are only used to define methods and properties
Reply With Quote
  #3 (permalink)  
Old 11-20-2008
Junior Member
 
Join Date: Nov 2008
Location: India
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
adib4u2000 is on a distinguished road
Re: implementing interfaces and concept of assemblies

Fist ... How to Implement Interface....

IN a project the Interfaces are designed by Project Architechts where they specify some methods which needs to be implemented when we Inherit the class what they designed.

Example: In a project for HOME the ROOMs will be classes and BEDROOM will be a Interface having a Method for BEDPLACE so when ever u are Constructing a room which inherit BEDROOM u need to implement BEDPLACE.

Code will some what look like..
// Normall Intercfaces will be prefixed wth I

/*This is a Method which should be implemented Derived class */

Class IBedRoom
{
public string BedPlace();

/*This is a Property which should be implemented Derived class */
string public Lamp{get;}

}

So when we (Developers) are developing the Application and derive the Interface we need to implement the same Method...
Ex..
public class MyRoom : IBedRoom
{
public Void TVPlace()
{
}
}

This will give error coz u didnt implement the method and property Of the IBedRoom Interface...

public class MyRoom : IBedRoom
{
public Void TVPlace()
{
}
public string BedPlace()
{
return "Right"
}

// try to get how to implement Property on ur Own..

}



Once u are done wth this i will tell u how to use Assemblies in C#.

Happy Programming

Marla

Last edited by adib4u2000; 11-20-2008 at 07:58 PM.
Reply With Quote
Reply

  Geeks Talk > Software Development > C#

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
interfaces amaravadi.krishna81 OOPS 6 10-26-2008 02:15 AM
Parameters passing in packages in Interfaces nishank31 Oracle Apps 2 10-15-2008 06:20 AM
Implement and extend the interfaces in JSP file hari.nattuva JSP 0 06-15-2007 03:05 PM
Supplier conversions and interfaces tables Shaik Ahmed Oracle Apps 0 06-12-2007 07:25 AM
Explain about Assemblies, native assemblies, and the Global Assembly Cache GeekAdmin VB.NET 0 05-17-2006 11:59 PM


All times are GMT -4. The time now is 03:59 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved