About Source Codes
17 Oct 2011, 08:07
Ogawa Kiyoshi (1 post)
The Agile Samurai is very useful for me.
Now I have some trouble about source codes.
Error 1 ‘src.CustomerProfileManager.Exists(int)’: not all code paths return a value
Error 2 The name ‘value’ does not exist in the current context
D:\agile\code\tdd\src\Card.cs 73 20 src
Error 3 ‘src.Card.value’ is inaccessible due to its protection level
For Error 1, I added “return true;”.
For Error 2, I added “int value” like this, public bool IsLessThan(Card newCard, int value)
For Error 3, change privete to public, like this, public int value;
Are these workaround meaningless or no?
Are there any places for discussing the sample code?
I am using Visual Studio 2008 and 2010 full installation.
|You must be logged in to comment|