C pointer in c-sharp, how to convert

Rinaldo 376 Reputation points

How do I convert pointer to c# language to convert a C source to C#,

the code to convert

char *line  
 public static int parseaddress(char *line, fidaddr fid, char wild)  
ffurther on'  
char symbol = *line  

How can it be a double ++ before the pointer?

Microsoft Technologies based on the .NET software framework.
3,153 questions
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,441 questions
0 comments No comments
{count} votes

2 additional answers

Sort by: Most helpful
  1. Rinaldo 376 Reputation points

    Hi @Castorix31
    I get strange enoufhg the error Severity Code Description Project File Line Suppression State
    Error CS0023 Operator '++' cannot be applied to operand of type 'string' WinDos D:\Users\Rinaldo\Documents\Visual Studio 2022\

    string line
    line++ does not work

    1 person found this answer helpful.

  2. Rinaldo 376 Reputation points

    Hi @Castorix31

    I have indexed the string like: symbol = line[index++];
    now another pointer question.

    How to pass this
    misc.getnum(&transport, &line)

    You are great