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

C#

 
AnswerRe: Avarage function in C#? Pin
OriginalGriff24-Jun-10 22:06
mveOriginalGriff24-Jun-10 22:06 
GeneralRe: Avarage function in C#? Pin
leiknospe28-Jun-10 21:06
leiknospe28-Jun-10 21:06 
AnswerRe: Avarage function in C#? Pin
Pete O'Hanlon24-Jun-10 22:48
mvePete O'Hanlon24-Jun-10 22:48 
GeneralRe: Avarage function in C#? Pin
riced25-Jun-10 1:05
riced25-Jun-10 1:05 
GeneralRe: Avarage function in C#? Pin
Pete O'Hanlon25-Jun-10 1:28
mvePete O'Hanlon25-Jun-10 1:28 
QuestionCopy Portion of 2d Array to 1d Array c# Pin
jollygiant24-Jun-10 21:31
jollygiant24-Jun-10 21:31 
AnswerRe: Copy Portion of 2d Array to 1d Array c# Pin
Richard MacCutchan24-Jun-10 23:29
mveRichard MacCutchan24-Jun-10 23:29 
GeneralRe: Copy Portion of 2d Array to 1d Array c# Pin
jollygiant25-Jun-10 0:18
jollygiant25-Jun-10 0:18 
The compiler reports

Argument 2: cannot convert from 'byte' to 'System.Array'

Here is the definition of OutBuff
private byte[,] OutBuff = new byte[MAX_PLCS,MAX_BUFF_SIZE+2];

Here is the function where used
public int writeBlock(byte path, byte [] writeBuff, int writeLen)
{
System.Array.Copy(writeBuff, OutBuff[path], writeLen); // <---- error line
GeneralRe: Copy Portion of 2d Array to 1d Array c# Pin
Richard MacCutchan25-Jun-10 3:44
mveRichard MacCutchan25-Jun-10 3:44 
GeneralRe: Copy Portion of 2d Array to 1d Array c# Pin
Richard MacCutchan25-Jun-10 4:10
mveRichard MacCutchan25-Jun-10 4:10 
GeneralRe: Copy Portion of 2d Array to 1d Array c# Pin
Richard MacCutchan25-Jun-10 4:55
mveRichard MacCutchan25-Jun-10 4:55 
GeneralRe: Copy Portion of 2d Array to 1d Array c# Pin
jollygiant25-Jun-10 9:17
jollygiant25-Jun-10 9:17 
GeneralRe: Copy Portion of 2d Array to 1d Array c# Pin
Richard MacCutchan25-Jun-10 9:41
mveRichard MacCutchan25-Jun-10 9:41 
QuestionA problem about Crystal Reports .... Pin
milestanley24-Jun-10 20:51
milestanley24-Jun-10 20:51 
QuestionSkype Conversation Record Pin
Iftekher Developer24-Jun-10 19:12
Iftekher Developer24-Jun-10 19:12 
QuestionC# Grammar Checker Pin
maryannerose24-Jun-10 17:30
maryannerose24-Jun-10 17:30 
AnswerRe: C# Grammar Checker Pin
yu-jian27-Jun-10 9:12
yu-jian27-Jun-10 9:12 
AnswerRe: C# Grammar Checker Pin
Bernhard Hiller27-Jun-10 23:07
Bernhard Hiller27-Jun-10 23:07 
Questionfaxcomexlib and multiple fax modem cards Pin
Saamir24-Jun-10 6:13
Saamir24-Jun-10 6:13 
AnswerRe: faxcomexlib and multiple fax modem cards Pin
Roger Wright24-Jun-10 16:50
professionalRoger Wright24-Jun-10 16:50 
QuestionIAX/IAX2 protocol scripting ?? Pin
yum 201024-Jun-10 6:08
yum 201024-Jun-10 6:08 
AnswerRe: IAX/IAX2 protocol scripting ?? Pin
Mycroft Holmes24-Jun-10 12:14
professionalMycroft Holmes24-Jun-10 12:14 
GeneralRe: IAX/IAX2 protocol scripting ?? Pin
yum 201026-Jun-10 6:47
yum 201026-Jun-10 6:47 
QuestionResX error Pin
gwithey24-Jun-10 5:07
gwithey24-Jun-10 5:07 
AnswerRe: ResX error Pin
Roger Wright24-Jun-10 16:54
professionalRoger Wright24-Jun-10 16:54 

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.