Solved: Cannot assign to ‘*’ because it is a ‘method group’

19 05 2009


Ever faced this error message, specially when you have been working long hours without rest?

Compilation Error
Compiler Error Message:
CS1656: Cannot assign to ‘*” because it is a ‘method group’


Look at the error line. You must have “assigned” something (using an equal to sign) to a “method” (a function).

So, change

alert = "Get some rest";


alert("Get some rest");

Now go, please get some rest!




7 responses

26 11 2010

thanks…solved problem

13 07 2011

thanks again

1 08 2011

Kick-ass, Cheers

23 01 2012

hahaha…. weldone.. after an hour of search for the solution to this, i came to the right place… it worked… thank u very much.. šŸ™‚

1 04 2013
Perry O

I’ve researched this for two days. lmao…. () bwahaha…. I’m so glad I found this. I almost gave up on C#!

16 01 2014

You are so right! i need some rest

8 04 2016

Eu estava ancioso para mudar de operadora visto que a vivo era bem melhor, sendo assim nu00e3o troco mais, su00f3 iria trocar o chip. Tremenda sacanagem da VIVO.nMeus pesares. Click

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: