View Single Post
Old November 20th, 2009, 12:23 PM
Gilbo79 Gilbo79 is offline
Authorized User
Join Date: Nov 2009
Posts: 14
Thanks: 4
Thanked 0 Times in 0 Posts
Default Error CS0508 - Chapter 6


I have made it through to Chapter 6 a little scarred but still plodding on. I get the above error when compiling and it relates to ErrorPage.aspx.cs and states that in line 31 'ErrorPage.CapabilityNames()': return type must be 'string[]' to match overridden member 'BasePage.CapabilityNames()'

If I remove the [] after string on line 51 of BasePage.cs, public abstract string[] CapabilityNames();

I get that it cannot convert type 'char' to 'string'

All the other projects build ok it;s just the UI I am having issues with at the moment.

Help greatly received...I must finsih this book/framework soon.