Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 4.0 aka C# 2010 > BOOK: Beginning Visual C# 2010
|
BOOK: Beginning Visual C# 2010
This is the forum to discuss the Wrox book Beginning Visual C# 2010 by Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, ; ISBN: 9780470502266
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual C# 2010 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 30th, 2010, 10:51 PM
Registered User
 
Join Date: Sep 2010
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Question about interface naming convention

Earlier in the book I remember it saying that when you name an interface it is traditional to start with capital i. So i am wondering in the section on generic interfaces they do

interface MyFarmingInterface<T>

was the naming convention only for types already made in the .NET namespace and not user created ones?
 
Old October 1st, 2010, 08:21 AM
Wrox Author
 
Join Date: Sep 2010
Posts: 175
Thanks: 3
Thanked 53 Times in 53 Posts
Default

The naming convention to start interfaces with I is also true for generic custom interfaces. The interface MyFarmingInterface<T> probably should be names IMyFarming<T>.
__________________
Christian
CN innovation
Visit my blog at: csharp.christiannagel.com
Follow me on twitter: @christiannagel





Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server Naming convention for Replication darrenb SQL Server 2005 3 May 3rd, 2008 02:50 PM
Table path using 4 part naming convention snufse SQL Server 2000 1 February 1st, 2008 07:45 PM
host has preset database naming convention crmpicco PHP Databases 0 October 23rd, 2007 01:14 PM
Appointment Booker Database Naming Question richardson167 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 November 21st, 2006 06:40 AM
Local Interface (javax.naming.NameNotFoundExcepti) d_chandra78 J2EE 0 January 27th, 2005 02:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.