Compling a c# application : an error : Identifier expected
<p>Can anyone please tell me why compiling a C# application with a .cs file containing the following piece of code is giving me an error . See below.</p>

<pre><code>namespace defintions
{
    unsafe public struct name
    {
       char* firstname;
       char* lastname;
    } ;

   class Functions
    {
       [DllImport("C++Dll.dll")]
       public unsafe static extern long func(name *);    //error : Identifier expected

    }

 }
</code></pre>
