Click here to Skip to main content
15,892,161 members
Home / Discussions / C#
   

C#

 
AnswerRe: Enumerator Pin
N a v a n e e t h25-Aug-09 16:36
N a v a n e e t h25-Aug-09 16:36 
GeneralRe: Enumerator Pin
CodingYoshi25-Aug-09 17:22
CodingYoshi25-Aug-09 17:22 
Questionbackgroundworker problem Pin
Planker25-Aug-09 10:26
Planker25-Aug-09 10:26 
AnswerRe: backgroundworker problem Pin
DaveyM6925-Aug-09 11:44
professionalDaveyM6925-Aug-09 11:44 
AnswerRe: backgroundworker problem Pin
N a v a n e e t h25-Aug-09 16:52
N a v a n e e t h25-Aug-09 16:52 
AnswerRe: backgroundworker problem Pin
Abdul Rahman Hamidy25-Aug-09 19:51
Abdul Rahman Hamidy25-Aug-09 19:51 
QuestionChanging Crystal Reports Details Section Height programmatically PinPopular
mj_developer25-Aug-09 9:29
mj_developer25-Aug-09 9:29 
QuestionSimple syntax error? Pin
Sonhospa25-Aug-09 9:26
Sonhospa25-Aug-09 9:26 
Hello everybody,

first I want to tell you that I don't know C# - I'm programming in VB.NET which works for most things I need. Now I have the need to extend a working C# class with a method that converts an RGB Array to its rows, which I did in VB first and had it translated to C# in order to implement.... BUT: The translation from SharpDevelop, which seemed to work fine, is not recognized by the Visual Studio compiler.

Maybe someone of you could help me find what's wrong? Here's the translation from SD:
public int[] FromArray(Array RGBArray)
{
    int[] returnValue = new int[imageHeight];

    for (int i = 0; i <= returnValue.Length - 1; i++)
    {
        for (int j = 0; j <= imageWidth; j++)
        {
            returnValue[i] = SetRow(i, RGBArray(j));
        }
    }
    return returnValue;
}
The compiler tells me "RGBArray is a Variable but is used like a Method"

Thank you for helping out,
Mick
AnswerRe: Simple syntax error? [modified] Pin
Hristo-Bojilov25-Aug-09 9:47
Hristo-Bojilov25-Aug-09 9:47 
NewsRe: Simple syntax error? Pin
Sonhospa25-Aug-09 10:04
Sonhospa25-Aug-09 10:04 
GeneralRe: Simple syntax error? Pin
Hristo-Bojilov25-Aug-09 10:22
Hristo-Bojilov25-Aug-09 10:22 
GeneralRe: Simple syntax error? Pin
Sonhospa25-Aug-09 10:29
Sonhospa25-Aug-09 10:29 
GeneralRe: Simple syntax error? Pin
Hristo-Bojilov25-Aug-09 10:30
Hristo-Bojilov25-Aug-09 10:30 
QuestionFramework 2.0 dependency Pin
Waheed Ur Rehman25-Aug-09 8:30
Waheed Ur Rehman25-Aug-09 8:30 
AnswerRe: Framework 2.0 dependency Pin
Xmen Real 25-Aug-09 8:38
professional Xmen Real 25-Aug-09 8:38 
AnswerRe: Framework 2.0 dependency Pin
Hristo-Bojilov25-Aug-09 8:58
Hristo-Bojilov25-Aug-09 8:58 
GeneralRe: Framework 2.0 dependency Pin
Waheed Ur Rehman25-Aug-09 9:37
Waheed Ur Rehman25-Aug-09 9:37 
GeneralRe: Framework 2.0 dependency Pin
Dan Neely25-Aug-09 9:46
Dan Neely25-Aug-09 9:46 
QuestionRefresh after setting MaximizedBounds Pin
Xmen Real 25-Aug-09 7:53
professional Xmen Real 25-Aug-09 7:53 
AnswerRe: Refresh after setting MaximizedBounds Pin
DaveyM6925-Aug-09 8:09
professionalDaveyM6925-Aug-09 8:09 
GeneralRe: Refresh after setting MaximizedBounds Pin
Xmen Real 25-Aug-09 8:16
professional Xmen Real 25-Aug-09 8:16 
Questioncapture data from modem Pin
ran925-Aug-09 7:27
ran925-Aug-09 7:27 
AnswerRe: capture data from modem Pin
stancrm25-Aug-09 7:37
stancrm25-Aug-09 7:37 
GeneralRe: capture data from modem Pin
ran925-Aug-09 7:46
ran925-Aug-09 7:46 
GeneralRe: capture data from modem Pin
stancrm25-Aug-09 10:03
stancrm25-Aug-09 10:03 

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.