Click here to Skip to main content
15,891,423 members
Home / Discussions / C#
   

C#

 
GeneralRe: Listbox items to array Pin
Stu Richardson20-Jun-07 3:40
Stu Richardson20-Jun-07 3:40 
AnswerRe: change de currentrow of datagridview Pin
Chintan.Desai20-Jun-07 3:45
Chintan.Desai20-Jun-07 3:45 
QuestionExporting Data to Multiple Excel Sheets in C# Windows Application Pin
meeram39520-Jun-07 2:10
meeram39520-Jun-07 2:10 
AnswerRe: Exporting Data to Multiple Excel Sheets in C# Windows Application Pin
Sandeep Akhare20-Jun-07 3:09
Sandeep Akhare20-Jun-07 3:09 
Questionhow can i make a full row select in a datagrid Pin
-spy-20-Jun-07 1:52
-spy-20-Jun-07 1:52 
AnswerRe: how can i make a full row select in a datagrid Pin
Not Active20-Jun-07 2:24
mentorNot Active20-Jun-07 2:24 
AnswerRe: how can i make a full row select in a datagrid Pin
Stu Richardson20-Jun-07 3:35
Stu Richardson20-Jun-07 3:35 
QuestionProgramming processes in C# - concurrency [modified] Pin
Theghost20-Jun-07 1:22
Theghost20-Jun-07 1:22 
Hi all,

I would like to know if C# enables this type of programming:
consider this example: an undetermined number of Cars coming from two sources to a car Park. The car park has to decide which car to let in the car park.
(1) How can I program such specification in C#? Do I need to use threading?? what type of programming capture this sort of requirement? functional doesn't seem to be a way.


road1 cars1[1,2,3,...n] --->
--> road3, waits for cars coming from road 1 or road 2
--> ..cars2[2], cars1[3], cars1[2],cars2[1],cars1[1]

road2 cars2[1,...m] ----->

(a) How does C# deals with two cars arriving in the same time?
(b) Does it handle deadlock
(c) Can this be exposed as a Web Service?

The reason why I want to know this is because I program Web Services a lot. Most Web services I programmed in C# are functions preceeded with the command "WebMethod" command so they can be exposed as Web services. In a recent conference I was asked if i can expose a process or a protocol as a web servce and couldn't answer it. The challenge with this type is they require many inputs coming at different times not like in functional style where all paramters are know and must have values when invoking the method.

Many thanks in advance Wink | ;)


-- modified at 7:39 Wednesday 20th June, 2007


-- modified at 7:41 Wednesday 20th June, 2007


-- modified at 7:41 Wednesday 20th June, 2007

bye

AnswerRe: Programming processes in C# - concurrency Pin
J4amieC20-Jun-07 3:01
J4amieC20-Jun-07 3:01 
QuestionKey Press event of textbox Pin
Sapan Roy20-Jun-07 1:10
Sapan Roy20-Jun-07 1:10 
AnswerRe: Key Press event of textbox Pin
Martin#20-Jun-07 1:16
Martin#20-Jun-07 1:16 
QuestionString Concatenation Issue Pin
Brendan Vogt20-Jun-07 0:44
Brendan Vogt20-Jun-07 0:44 
AnswerRe: String Concatenation Issue Pin
Martin#20-Jun-07 0:51
Martin#20-Jun-07 0:51 
AnswerRe: String Concatenation Issue Pin
Sandeep Akhare20-Jun-07 0:59
Sandeep Akhare20-Jun-07 0:59 
Questionfile server Pin
sureshprabhu20-Jun-07 0:33
sureshprabhu20-Jun-07 0:33 
QuestionSerializing the same object instance twice... Pin
Shy Agam20-Jun-07 0:10
Shy Agam20-Jun-07 0:10 
AnswerRe: Serializing the same object instance twice... [modified] Pin
Martin#20-Jun-07 0:20
Martin#20-Jun-07 0:20 
AnswerRe: Serializing the same object instance twice... Pin
welbers20-Jun-07 0:29
welbers20-Jun-07 0:29 
AnswerRe: Serializing the same object instance twice... Pin
Shy Agam20-Jun-07 0:38
Shy Agam20-Jun-07 0:38 
Questionflicker free fast moving images Pin
wolf70719-Jun-07 23:53
wolf70719-Jun-07 23:53 
AnswerRe: flicker free fast moving images Pin
Martin#20-Jun-07 0:03
Martin#20-Jun-07 0:03 
QuestionCustomizing the grid columns Pin
minkinin19-Jun-07 23:23
minkinin19-Jun-07 23:23 
QuestionUse of trignometric func.??-----------help urgent Pin
Raza568019-Jun-07 23:17
Raza568019-Jun-07 23:17 
AnswerRe: Use of trignometric func.??-----------help urgent Pin
Giorgi Dalakishvili19-Jun-07 23:28
mentorGiorgi Dalakishvili19-Jun-07 23:28 
QuestionZooming in C# using opengl Pin
a_david12319-Jun-07 22:48
a_david12319-Jun-07 22:48 

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.