C# - Class "List" that implements linear lists -


i have create "list" class in c# sharp (i've started new project - console application - in visual studio) using method "design-by-contract" create "list" class implements linear lists. kinda stuck , not know how start this.

more information "design contracts" method can found here: http://www.bitrepository.com/apps/design-by-contracts.ppt

i hope can give me clue on how achieve this.

regards, gabriel

for guidance on how create "list" class, take @ system.collections.generic.list<t>. public api give ideas on sort of functionality such type should provide. if interested in implementation details, can decompile type using tool such reflector. might have design work if goal different, example if "that implements linear lists", mean type represents list-of-lists.

the c# programming language has no direct support design-by-contract. best bet use design-by-contract library tooling support, such code contracts. alternatively, use spec#, extension of c# supports design-by-contract.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -