Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
GeneralRe: Data organization ideas Pin
kenprog23-Oct-07 14:18
kenprog23-Oct-07 14:18 
GeneralRe: Data organization ideas Pin
PIEBALDconsult23-Oct-07 16:45
mvePIEBALDconsult23-Oct-07 16:45 
GeneralRe: Data organization ideas Pin
kenprog24-Oct-07 11:01
kenprog24-Oct-07 11:01 
QuestionPossible to combine unmanaged dlls in a resource ? Pin
User 226147423-Oct-07 12:15
User 226147423-Oct-07 12:15 
Questionthis the code which i ask u about it please when u know the error tell me and i'm wait [modified] Pin
memaia23-Oct-07 12:12
memaia23-Oct-07 12:12 
AnswerRe: this the code... Pin
Guffa23-Oct-07 12:27
Guffa23-Oct-07 12:27 
GeneralRe: this the code... Pin
Luc Pattyn23-Oct-07 14:08
sitebuilderLuc Pattyn23-Oct-07 14:08 
AnswerRe: this the code which i ask u about it please when u know the error tell me and i'm wait [modified] Pin
Spacix One23-Oct-07 12:43
Spacix One23-Oct-07 12:43 
to start your namespace is there but a class within it comes before the opeing "{" bracket and the ending one is already there.

IE you have
namespace mynamespace
  class myclass
  {
  }
}



when you should have
namespace mynamespace
{
  class myclass
  {
  }
}

second there isn't a static void Main(string[] args) { } function and this appears to be a console application (not using widows form classes) and only one class, then your class requires a Main function for the windows entry point into your code

after adding
static void Main(string[] args)
{
    Console.WriteLine(NumberToEnglish(10002));
}


worked for me. if you have issues then you can put a break where you call it then step though it with the debugger it is easy to spot

Run it with [F5] with a break at the start of the call of convert then step-into it with [F11] then step through with [F10] looking at the auto, till you see an error. Break before the error then reset with [Shift]+[F5] then [F5] and [F5] again to goto the new break. Press [F11] to step into the code area where your error was repeat till you see the mistake.

also I don't think "TranslateOneToTwoBillionOneHundredAndFortySevenMillionFourHundredAndEightyThreeThousandSixHundredAndFortySeven()" is a very good choice for a function name Wink | ;)




-- modified at 18:50 Tuesday 23rd October, 2007


-Spacix
All your skynet questions[^] belong to solved

GeneralRe: this the code which i ask u about it please when u know the error tell me and i'm wait Pin
Christian Graus23-Oct-07 16:09
protectorChristian Graus23-Oct-07 16:09 
GeneralRe: this the code which i ask u about it please when u know the error tell me and i'm wait Pin
Dave Kreskowiak23-Oct-07 16:22
mveDave Kreskowiak23-Oct-07 16:22 
GeneralRe: this the code which i ask u about it please when u know the error tell me and i'm wait Pin
Colin Angus Mackay5-Nov-07 13:44
Colin Angus Mackay5-Nov-07 13:44 
AnswerRe: this the code which i ask u about it please when u know the error tell me and i'm wait Pin
Colin Angus Mackay5-Nov-07 13:48
Colin Angus Mackay5-Nov-07 13:48 
QuestionDate Conversion, XML, DB etc...` Pin
lune1223-Oct-07 12:10
lune1223-Oct-07 12:10 
AnswerRe: Date Conversion, XML, DB etc...` Pin
Not Active23-Oct-07 12:47
mentorNot Active23-Oct-07 12:47 
QuestionWhat is the prefered bi-directional encryption procedure using C#/SQL Server? Pin
xbadenx23-Oct-07 11:37
xbadenx23-Oct-07 11:37 
AnswerRe: What is the prefered bi-directional encryption procedure using C#/SQL Server? Pin
Dave Kreskowiak23-Oct-07 14:00
mveDave Kreskowiak23-Oct-07 14:00 
GeneralRe: What is the prefered bi-directional encryption procedure using C#/SQL Server? Pin
xbadenx23-Oct-07 14:02
xbadenx23-Oct-07 14:02 
GeneralRe: What is the prefered bi-directional encryption procedure using C#/SQL Server? Pin
Dave Kreskowiak23-Oct-07 14:51
mveDave Kreskowiak23-Oct-07 14:51 
GeneralRe: What is the prefered bi-directional encryption procedure using C#/SQL Server? Pin
xbadenx25-Oct-07 11:37
xbadenx25-Oct-07 11:37 
QuestionUsing Volume Shadow Service? Pin
CaffeinatedTech23-Oct-07 10:46
CaffeinatedTech23-Oct-07 10:46 
AnswerRe: Using Volume Shadow Service? Pin
Dave Kreskowiak23-Oct-07 13:59
mveDave Kreskowiak23-Oct-07 13:59 
Questionneed program Pin
dharikitty23-Oct-07 10:07
dharikitty23-Oct-07 10:07 
AnswerRe: need program Pin
pmarfleet23-Oct-07 10:22
pmarfleet23-Oct-07 10:22 
AnswerRe: need program Pin
il_masacratore23-Oct-07 11:09
il_masacratore23-Oct-07 11:09 
AnswerRe: need program Pin
Spacix One23-Oct-07 11:16
Spacix One23-Oct-07 11:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.