Posts Tagged ‘interface’

Two Interfaces, One Method, Two Meanings (VB)

ka_vol1_037 Last week I showed how to implement two interfaces with one method and two meanings in CSharp.  One of the first comments I received for this post was, “How does this work in VB.NET?”

So here’s how it works:

Read the rest of this entry »

Other Related Items:

Microsoft Visual Studio Professional 2005 [OLD VERSION]Microsoft Visual Studio Professional 2005 [OLD VERSION]Microsoft Visual Studio Professional 2005 is one of the most significant developer tools available for building high-performance, multi-tier applicati... Read More >
Rocket Surgery Made Easy: The Do-It-Yourself Guide to Finding and Fixing Usability ProblemsRocket Surgery Made Easy: The Do-It-Yourself Guide to Finding and Fixing Usability ProblemsIt's been known for years that usability testing can dramatically improve products. But with a typical price tag of $5,000 to $10,000 for a usability ... Read More >
Regular Expressions CookbookRegular Expressions Cookbook

Whether you're a novice or an experienced user, Regular Expressions Cookbook will help deepen your understanding of the tool. You'll learn powerf... Read More >

Two Interfaces. Same Method. Two meanings.

ppl-act-010 We’ve discussed interfaces before, but today I want to dig a little deeper.  I’m going to assume for now that you already know what an interface is and that you know how to implement one on a class.

But let’s assume for a bit that you have two interfaces that have exactly the same method declared in them but each implementation of the method has two entirely different meanings.  How do you code for this?

Read the rest of this entry »

Other Related Items:

Sterling Deluxe Solid Brass 2 Brass Glass Shades Pool Table LightSterling Deluxe Solid Brass 2 Brass Glass Shades Pool Table LightThe Sterling Deluxe Solid Brass 2 Brass Glass Shades Pool Table Light is classic yet has a simple design. It features two 15 inch shades where, shades have frosted ribbed glass tops and brass bottoms. This pool table light measures 43.5 inch in overall length.    
Planescape: TormentPlanescape: Torment*** This is Original & Full U.S. BIG BOX 4-CD Version! ** NOT the Dual Jewel Case 2-CDs** Like advanced Dungeons & Dragons? The Planescape multiverse... Read More >
Digicom : PMA-6041 Plasma & LCD TV Flat Wall Mount Universal Design for 20" to 40" DisplaysDigicom : PMA-6041 Plasma & LCD TV Flat Wall Mount Universal Design for 20" to 40" DisplaysUniversal wall mounts for most 23 - 40 Flat panel screens Low-profile design keeps screens only 1 from wall Heavy steel construction for safe mounting Easy installation by hardware Scratch-resistant metallic finish black fused epoxy Dimensions: Wall plate: 20.5 (W) x 9.4 (H)
DotNetNuke Sponsor

 

Most Valuable Blogger
Sponsor