Click here to Skip to main content
15,889,096 members
Home / Discussions / C#
   

C#

 
GeneralRe: Fill 50% of a drawing with a color Pin
je_gonzalez16-Feb-04 12:54
je_gonzalez16-Feb-04 12:54 
QuestionHow to referenc functions in other code file Pin
klufy16-Feb-04 8:28
klufy16-Feb-04 8:28 
AnswerRe: How to referenc functions in other code file Pin
Colin Angus Mackay16-Feb-04 8:57
Colin Angus Mackay16-Feb-04 8:57 
GeneralRe: How to referenc functions in other code file Pin
klufy16-Feb-04 9:29
klufy16-Feb-04 9:29 
GeneralRe: How to referenc functions in other code file Pin
Colin Angus Mackay16-Feb-04 9:42
Colin Angus Mackay16-Feb-04 9:42 
GeneralRe: How to referenc functions in other code file Pin
Heath Stewart16-Feb-04 9:43
protectorHeath Stewart16-Feb-04 9:43 
GeneralRe: How to referenc functions in other code file Pin
klufy16-Feb-04 10:50
klufy16-Feb-04 10:50 
GeneralRe: How to referenc functions in other code file Pin
obelisk2916-Feb-04 11:23
obelisk2916-Feb-04 11:23 
On your ReverseText Function put it as
public string ReverseText(string s)
{
      //code here
}

This is because the C# Compiler marks it as private(thus only allowing it to be accessed by the same class it's in)
if you don't specify an access modifier.

Other modifiers are

protected
virtual
abstract
private
public

Look up these modifiers on codeproject for more info =)

------------------

I'm naked under my clothes...
GeneralRe: How to referenc functions in other code file Pin
klufy16-Feb-04 11:28
klufy16-Feb-04 11:28 
GeneralRe: How to referenc functions in other code file Pin
Heath Stewart17-Feb-04 2:58
protectorHeath Stewart17-Feb-04 2:58 
Generalcreating an app to track user input Pin
kym34516-Feb-04 8:06
kym34516-Feb-04 8:06 
GeneralRe: creating an app to track user input Pin
CWIZO16-Feb-04 8:17
CWIZO16-Feb-04 8:17 
GeneralRe: creating an app to track user input Pin
apferreira16-Feb-04 13:18
apferreira16-Feb-04 13:18 
GeneralSMTP Help Pin
mina_aziz16-Feb-04 7:00
mina_aziz16-Feb-04 7:00 
GeneralRe: SMTP Help Pin
Heath Stewart16-Feb-04 9:31
protectorHeath Stewart16-Feb-04 9:31 
GeneralASP.NET and slider controls Pin
julian_l16-Feb-04 6:54
julian_l16-Feb-04 6:54 
GeneralRe: ASP.NET and slider controls Pin
Heath Stewart16-Feb-04 9:22
protectorHeath Stewart16-Feb-04 9:22 
GeneralPrintDocument1.PrinterSettings.CanDuplex Pin
amadeonMk16-Feb-04 5:13
amadeonMk16-Feb-04 5:13 
GeneralRe: PrintDocument1.PrinterSettings.CanDuplex Pin
Heath Stewart16-Feb-04 6:54
protectorHeath Stewart16-Feb-04 6:54 
GeneralRe: PrintDocument1.PrinterSettings.CanDuplex Pin
amadeonMk16-Feb-04 21:10
amadeonMk16-Feb-04 21:10 
GeneralRe: PrintDocument1.PrinterSettings.CanDuplex Pin
Heath Stewart17-Feb-04 2:54
protectorHeath Stewart17-Feb-04 2:54 
GeneralText smoothing in a single application Pin
jremignanti16-Feb-04 4:19
jremignanti16-Feb-04 4:19 
GeneralRe: Text smoothing in a single application Pin
Heath Stewart16-Feb-04 6:43
protectorHeath Stewart16-Feb-04 6:43 
GeneralRe: Text smoothing in a single application Pin
jremignanti16-Feb-04 7:19
jremignanti16-Feb-04 7:19 
GeneralRe: Text smoothing in a single application Pin
Heath Stewart16-Feb-04 8:52
protectorHeath Stewart16-Feb-04 8:52 

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.