C# Error in a .cs

Joined
Aug 24, 2010
Messages
2
Reaction score
0
I am getting a few errors that seem to confused me.

Can anyone help me out a bit? I new to C#.

Code:
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

internal class _PrivateImplementationDetails
    {

    internal static int $$method0x6000095-1;
    internal static StaticArrayInitTypeSize=32 $$method0x60000ff-1;
    internal static StaticArrayInitTypeSize2=256 $$method0x60000ff-2;
    internal static StaticArrayInitTypeSize3=16 $$method0x60000ff-3;
    internal static int $$method0x60000ff-4
    internal static int $$method0x60000ff-5;


    [StructLayout(LayoutKind.Explicit, Size=0x10, Pack=1)]
    private struct StaticArrayInitTypeSize=16
        {
            }

    [StructLayout(LayoutKind.Explicit, Size=0x100, Pack=1)]
    private struct StaticArrayInitTypeSize2=256
        {
            }

    [StructLayout(LayoutKind.Explicit, Size=0x20, Pack=1)]
    private struct StaticArrayInitTypeSize3=32
    {
                                 }
                         }
               }
     }
}

Unexpected character '$'

How can I remove this? What is the problem with the "$"? How can I fix this?

"Invalid token '=/-/$' in class, struct, or interface member declaration"

Not sure why I get this error, but I don't know how to fix it. Google didn't help. :neutral:

{ expected

I added a "{" where this error shows, but then I get the "Invalid token" error as before.

Can anyone help me? Thanks. :) :D
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top