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

19 05 2009

Problem:

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’

Solution:

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";

to

alert("Get some rest");

Now go, please get some rest!

Advertisements

Actions

Information

7 responses

26 11 2010
ss

thanks…solved problem

13 07 2011
Destyny

thanks again

1 08 2011
Rob

Kick-ass, Cheers

23 01 2012
ranadheer

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
sharon

You are so right! i need some rest

8 04 2016
elsierichmond71313

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 http://link.mx/hool08200

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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: