Click here to Skip to main content
15,918,041 members
Home / Discussions / C#
   

C#

 
QuestionIE Web Controls Pin
karthik_dotnet129-Jan-06 23:21
karthik_dotnet129-Jan-06 23:21 
QuestionSQL Server 2005 Pin
AB777129-Jan-06 23:18
AB777129-Jan-06 23:18 
AnswerRe: SQL Server 2005 Pin
Douglas Troy30-Jan-06 5:40
Douglas Troy30-Jan-06 5:40 
AnswerRe: SQL Server 2005 Pin
sucharita30-Jan-06 16:39
sucharita30-Jan-06 16:39 
GeneralRe: SQL Server 2005 Pin
AB777130-Jan-06 18:14
AB777130-Jan-06 18:14 
QuestionCode editor is not organizing my code Pin
NewbieDude29-Jan-06 21:42
NewbieDude29-Jan-06 21:42 
AnswerRe: Code editor is not organizing my code Pin
imsathy29-Jan-06 21:56
imsathy29-Jan-06 21:56 
AnswerRe: Code editor is not organizing my code Pin
Guffa29-Jan-06 22:42
Guffa29-Jan-06 22:42 
It doesn't put the braces in for two reasons:

1. C# is not line based, as VB. A new line doesn't mean that the header declaration is complete.

2. In some cases the parenthesis after the parameters is not the last part of the declaration. It would be confusing if the editor would fource the braces in when there still is more things that you can put there.

Example: This is perfectly valid code in C# (if perhaps badly structured):

public
class
A
{
	public
	A
	(
	)
	:
	base
	(
	)
	{
	}
}


Notice the call to the base (object class) constructor call after the parameter paranthesis.

---
b { font-weight: normal; }

AnswerRe: Code editor is not organizing my code Pin
Colin Angus Mackay30-Jan-06 0:34
Colin Angus Mackay30-Jan-06 0:34 
GeneralRe: Code editor is not organizing my code Pin
NewbieDude30-Jan-06 0:54
NewbieDude30-Jan-06 0:54 
GeneralRe: Code editor is not organizing my code Pin
Sebastian Schneider30-Jan-06 1:03
Sebastian Schneider30-Jan-06 1:03 
GeneralRe: Code editor is not organizing my code Pin
leppie30-Jan-06 1:40
leppie30-Jan-06 1:40 
QuestionC#,Close Excel whitout the save as dialog Pin
jzb29-Jan-06 20:43
jzb29-Jan-06 20:43 
AnswerRe: C#,Close Excel whitout the save as dialog Pin
Guffa29-Jan-06 21:02
Guffa29-Jan-06 21:02 
AnswerRe: C#,Close Excel whitout the save as dialog Pin
AB777129-Jan-06 23:11
AB777129-Jan-06 23:11 
GeneralRe: C#,Close Excel whitout the save as dialog Pin
jzb30-Jan-06 20:14
jzb30-Jan-06 20:14 
AnswerRe: C#,Close Excel whitout the save as dialog Pin
Drew McGhie30-Jan-06 3:35
Drew McGhie30-Jan-06 3:35 
QuestionPassing Data Pin
bootn29-Jan-06 17:15
bootn29-Jan-06 17:15 
AnswerRe: Passing Data Pin
Colin Angus Mackay29-Jan-06 17:40
Colin Angus Mackay29-Jan-06 17:40 
GeneralRe: Passing Data Pin
bootn29-Jan-06 17:51
bootn29-Jan-06 17:51 
GeneralRe: Passing Data Pin
Colin Angus Mackay29-Jan-06 18:04
Colin Angus Mackay29-Jan-06 18:04 
GeneralRe: Passing Data Pin
bootn29-Jan-06 20:15
bootn29-Jan-06 20:15 
QuestionThread NOT aborting nicely!!!! Pin
WetRivrRat29-Jan-06 17:13
WetRivrRat29-Jan-06 17:13 
AnswerRe: Thread NOT aborting nicely!!!! Pin
leppie29-Jan-06 18:34
leppie29-Jan-06 18:34 
GeneralRe: Thread NOT aborting nicely!!!! Pin
WetRivrRat30-Jan-06 2:32
WetRivrRat30-Jan-06 2:32 

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.