Click here to Skip to main content
15,896,278 members
Home / Discussions / C#
   

C#

 
AnswerRe: Date clash with MSSQL 2005 Pin
chaiguy133725-Aug-08 15:08
chaiguy133725-Aug-08 15:08 
QuestionCapture video stream Pin
modano7925-Aug-08 1:37
modano7925-Aug-08 1:37 
AnswerRe: Capture video stream Pin
blackjack215025-Aug-08 1:51
blackjack215025-Aug-08 1:51 
GeneralRe: Capture video stream Pin
modano7925-Aug-08 2:00
modano7925-Aug-08 2:00 
QuestionInvalid argument error ? Pin
kk.tvm25-Aug-08 1:36
kk.tvm25-Aug-08 1:36 
AnswerRe: Invalid argument error ? Pin
lisan_al_ghaib25-Aug-08 1:43
lisan_al_ghaib25-Aug-08 1:43 
AnswerRe: Invalid argument error ? Pin
N a v a n e e t h25-Aug-08 1:55
N a v a n e e t h25-Aug-08 1:55 
AnswerRe: Invalid argument error ? Pin
Guffa25-Aug-08 3:35
Guffa25-Aug-08 3:35 
RisKhan wrote:
I am a beginer in C# programing .


Then my first advice is to not use structures, use classes. Structures are a lot more complidated to implement correctly, so you need a bit more experience before you should try that.

Also, don't use the ref keyword unless there really is a benefit. In your example you should return the result from the method instead.

RisKhan wrote:
Below code snippet cause Invalid argument error while running


No, it doesn't. You can't run the code as it doesn't compile.

RisKhan wrote:
error occurs in findsomething( ref s1) line


That's because the variable is not the same type as the parameter, and object does not inherit from somestruct.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Invalid argument error ? Pin
chaiguy133725-Aug-08 15:11
chaiguy133725-Aug-08 15:11 
GeneralRe: Invalid argument error ? Pin
Guffa26-Aug-08 8:43
Guffa26-Aug-08 8:43 
GeneralRe: Invalid argument error ? Pin
chaiguy133726-Aug-08 8:51
chaiguy133726-Aug-08 8:51 
GeneralRe: Invalid argument error ? Pin
Guffa26-Aug-08 13:47
Guffa26-Aug-08 13:47 
GeneralRe: Invalid argument error ? Pin
chaiguy133726-Aug-08 14:57
chaiguy133726-Aug-08 14:57 
Questionstring and array are immutable? Pin
George_George24-Aug-08 23:50
George_George24-Aug-08 23:50 
AnswerRe: string and array are immutable? Pin
N a v a n e e t h25-Aug-08 0:13
N a v a n e e t h25-Aug-08 0:13 
GeneralRe: string and array are immutable? Pin
George_George25-Aug-08 0:17
George_George25-Aug-08 0:17 
GeneralRe: string and array are immutable? Pin
N a v a n e e t h25-Aug-08 0:21
N a v a n e e t h25-Aug-08 0:21 
GeneralRe: string and array are immutable? Pin
George_George25-Aug-08 1:31
George_George25-Aug-08 1:31 
AnswerRe: string and array are immutable? [Modified] Pin
Mustafa Ismail Mustafa25-Aug-08 0:20
Mustafa Ismail Mustafa25-Aug-08 0:20 
GeneralRe: string and array are immutable? [Modified] Pin
George_George25-Aug-08 1:28
George_George25-Aug-08 1:28 
GeneralRe: string and array are immutable? [Modified] Pin
N a v a n e e t h25-Aug-08 1:35
N a v a n e e t h25-Aug-08 1:35 
GeneralRe: string and array are immutable? [Modified] Pin
George_George25-Aug-08 1:39
George_George25-Aug-08 1:39 
GeneralRe: string and array are immutable? [Modified] Pin
N a v a n e e t h25-Aug-08 1:30
N a v a n e e t h25-Aug-08 1:30 
GeneralRe: string and array are immutable? [Modified] Pin
George_George25-Aug-08 1:33
George_George25-Aug-08 1:33 
GeneralRe: string and array are immutable? [Modified] Pin
N a v a n e e t h25-Aug-08 1:39
N a v a n e e t h25-Aug-08 1:39 

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.