Click here to Skip to main content
15,888,984 members
Home / Discussions / C#
   

C#

 
GeneralRe: FPS convertor Pin
_Q12_25-Jul-13 7:21
_Q12_25-Jul-13 7:21 
QuestionHow to authorize user by form authentication in mvc 4 Pin
nitin_ion23-Jul-13 2:35
nitin_ion23-Jul-13 2:35 
AnswerRe: How to authorize user by form authentication in mvc 4 Pin
Keith Barrow23-Jul-13 6:29
professionalKeith Barrow23-Jul-13 6:29 
QuestionGet string in a function using Socket server Pin
CodingHell22-Jul-13 21:02
CodingHell22-Jul-13 21:02 
AnswerRe: Get string in a function using Socket server Pin
Richard MacCutchan22-Jul-13 21:09
mveRichard MacCutchan22-Jul-13 21:09 
GeneralRe: Get string in a function using Socket server Pin
CodingHell22-Jul-13 21:18
CodingHell22-Jul-13 21:18 
AnswerRe: Get string in a function using Socket server Pin
Richard MacCutchan22-Jul-13 23:39
mveRichard MacCutchan22-Jul-13 23:39 
AnswerRe: Get string in a function using Socket server Pin
lukeer22-Jul-13 23:39
lukeer22-Jul-13 23:39 
Pass the string as a parameter
C#
    [...]
    Console.WriteLine("Received Data{0}",clientDataInString);

    abc(clientDataInString);
}
Of course, abc() has to accept a parameter of type System.String then:
C#
void abc(string input)
{
    if(input.Contains("A"))
    {
        Console.WriteLine("Print A");
    }
    else if(input.Contains("B"))
    {
        Console.WriteLine("Print B");
    }
}


Ciao,


luker

QuestionApplication Settings Pin
Midnight Ahri22-Jul-13 18:31
Midnight Ahri22-Jul-13 18:31 
QuestionRe: Application Settings Pin
Kenneth Haugland22-Jul-13 22:48
mvaKenneth Haugland22-Jul-13 22:48 
AnswerRe: Application Settings Pin
Midnight Ahri22-Jul-13 23:40
Midnight Ahri22-Jul-13 23:40 
AnswerRe: Application Settings Pin
lukeer22-Jul-13 23:09
lukeer22-Jul-13 23:09 
AnswerRe: Application Settings Pin
Midnight Ahri22-Jul-13 23:47
Midnight Ahri22-Jul-13 23:47 
GeneralRe: Application Settings Pin
Eddy Vluggen23-Jul-13 0:29
professionalEddy Vluggen23-Jul-13 0:29 
QuestionResponsive UI - WPF with Properties Pin
SynergiAios22-Jul-13 15:09
SynergiAios22-Jul-13 15:09 
AnswerRe: Responsive UI - WPF with Properties Pin
Dave Kreskowiak22-Jul-13 16:32
mveDave Kreskowiak22-Jul-13 16:32 
GeneralRe: Responsive UI - WPF with Properties Pin
SynergiAios23-Jul-13 0:18
SynergiAios23-Jul-13 0:18 
QuestionOO Design for Specifc Problem Pin
KeithF22-Jul-13 6:17
KeithF22-Jul-13 6:17 
AnswerRe: OO Design for Specifc Problem Pin
KeithF22-Jul-13 21:41
KeithF22-Jul-13 21:41 
AnswerRe: OO Design for Specifc Problem Pin
Eddy Vluggen23-Jul-13 0:30
professionalEddy Vluggen23-Jul-13 0:30 
GeneralRe: OO Design for Specifc Problem Pin
KeithF30-Jul-13 22:49
KeithF30-Jul-13 22:49 
QuestionMicrosoft Expression Encoder with IIS Live Smooth Streaming Issue Pin
Member 1003572121-Jul-13 21:46
Member 1003572121-Jul-13 21:46 
AnswerRe: Microsoft Expression Encoder with IIS Live Smooth Streaming Issue Pin
Dave Kreskowiak22-Jul-13 1:46
mveDave Kreskowiak22-Jul-13 1:46 
QuestionGetGuiThreadInfo can not get the caret's position Pin
goldli8820-Jul-13 23:12
goldli8820-Jul-13 23:12 
QuestionHow to Create Dynamic Buttons With Students Roll No. on It From Database Pin
jackspero1820-Jul-13 1:38
jackspero1820-Jul-13 1:38 

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.