Click here to Skip to main content
15,911,531 members
Home / Discussions / C#
   

C#

 
AnswerRe: Get a pixel color on the desktop Pin
Dustin Metzgar7-Sep-06 5:06
Dustin Metzgar7-Sep-06 5:06 
GeneralRe: Get a pixel color on the desktop Pin
Jun Du7-Sep-06 5:12
Jun Du7-Sep-06 5:12 
GeneralRe: Get a pixel color on the desktop Pin
leppie7-Sep-06 9:57
leppie7-Sep-06 9:57 
QuestionReading image pixel colors? Pin
Goalie357-Sep-06 4:31
Goalie357-Sep-06 4:31 
AnswerRe: Reading image pixel colors? Pin
User 66587-Sep-06 4:36
User 66587-Sep-06 4:36 
AnswerRe: Reading image pixel colors? Pin
Judah Gabriel Himango7-Sep-06 4:42
sponsorJudah Gabriel Himango7-Sep-06 4:42 
GeneralRe: Reading image pixel colors? Pin
User 66587-Sep-06 4:53
User 66587-Sep-06 4:53 
QuestionWhy is main() in a class?(About oo design) Pin
sawerr7-Sep-06 3:58
sawerr7-Sep-06 3:58 
In c++ main() is not in a class.Main() is called by OS.It is a special function.But in C# it is also in a class.For example:
class Exercise<br />
{<br />
<br />
	static void Main()<br />
	{<br />
		Console.WriteLine();<br />
	}<br />
}

Also C# designers says :C# is truely oo language.There is no code outside of classes.But Main() can not be a part of a class.Ii is sepecial func.; here main() is not member of exercise class.So why c# designers force us to write also main() in a class.Also is main() must be in a class for a language that want to be truely oo?What is the advantage/magic behind this.I think this is wrong design and confusing thing.But i really wonder what c# designers think for this subject.
AnswerRe: Why is main() in a class?(About oo design) Pin
User 66587-Sep-06 4:26
User 66587-Sep-06 4:26 
AnswerRe: Why is main() in a class?(About oo design) Pin
Nader Elshehabi7-Sep-06 4:45
Nader Elshehabi7-Sep-06 4:45 
GeneralRe: Why is main() in a class?(About oo design) Pin
KevinMac7-Sep-06 8:55
KevinMac7-Sep-06 8:55 
AnswerRe: Why is main() in a class?(About oo design) Pin
Kevin McFarlane7-Sep-06 5:18
Kevin McFarlane7-Sep-06 5:18 
QuestionPassing char array to c++ function Pin
Blubbo7-Sep-06 3:13
Blubbo7-Sep-06 3:13 
QuestionRe: Passing char array to c++ function Pin
Nader Elshehabi7-Sep-06 4:48
Nader Elshehabi7-Sep-06 4:48 
AnswerRe: Passing char array to c++ function Pin
Judah Gabriel Himango7-Sep-06 4:57
sponsorJudah Gabriel Himango7-Sep-06 4:57 
AnswerRe: Passing char array to c++ function Pin
Judah Gabriel Himango7-Sep-06 4:57
sponsorJudah Gabriel Himango7-Sep-06 4:57 
QuestionQuestion about Objects Pin
Chrismaster7-Sep-06 2:08
Chrismaster7-Sep-06 2:08 
AnswerRe: Question about Objects Pin
SeMartens7-Sep-06 2:23
SeMartens7-Sep-06 2:23 
AnswerRe: Question about Objects Pin
Not Active7-Sep-06 2:25
mentorNot Active7-Sep-06 2:25 
AnswerRe: Question about Objects Pin
mikone7-Sep-06 2:26
mikone7-Sep-06 2:26 
AnswerThanks! Pin
Chrismaster7-Sep-06 2:34
Chrismaster7-Sep-06 2:34 
AnswerRe: Question about Objects Pin
guygo7-Sep-06 2:48
guygo7-Sep-06 2:48 
QuestionLimiting ListObjects in Excel from growing row-wise Pin
esskay19797-Sep-06 1:51
esskay19797-Sep-06 1:51 
QuestionAvoiding 2 same processes Pin
stancrm7-Sep-06 1:48
stancrm7-Sep-06 1:48 
AnswerRe: Avoiding 2 same processes Pin
User 66587-Sep-06 2:00
User 66587-Sep-06 2:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.