[MonoTouch] NSUserDefaults

Miguel de Icaza miguel at novell.com
Sat Aug 22 14:26:46 EDT 2009


Hello,

     This means that you are using a method without the parameter  
arguments, so the compiler complains in that case.

     Can you paste your sample code?

On Aug 22, 2009, at 4:43 AM, Kevin Daly wrote:

> Can anyone give an example of successfully using
> NSUserDefaults.StandardUserDefaults (using the current build)?
> Anything I try using either indexers or Set... methods simply gives  
> me the
> following error:
> "Expression denotes a 'method group', where a 'variable', 'value' or  
> 'type'
> was expected (CS0119)".
> Same goes for trying to retrieve a value (well actually I was trying  
> to
> retrieve null, since I obviously hadn't managed to set anything).
>
> It seems I'm doing something seriously wrong, so I'd love to know what
> works.
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch



More information about the MonoTouch mailing list