Click here to Skip to main content
15,119,335 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: T-SQL for everything?? Pin
HimaBindu Vejella20-Apr-06 21:47
MemberHimaBindu Vejella20-Apr-06 21:47 
AnswerRe: T-SQL for everything?? Pin
JimRoss2-May-06 12:51
MemberJimRoss2-May-06 12:51 
QuestionGame server? Pin
Gwedion18-Apr-06 18:11
MemberGwedion18-Apr-06 18:11 
QuestionGetting the right permissions set up to use windows forms in aspx???? Pin
coder62618-Apr-06 10:28
Membercoder62618-Apr-06 10:28 
QuestionRun service through svchost Pin
_maniaque18-Apr-06 9:30
Member_maniaque18-Apr-06 9:30 
AnswerRe: Run service through svchost Pin
Dave Kreskowiak19-Apr-06 6:45
mveDave Kreskowiak19-Apr-06 6:45 
QuestionUserControl Data binding & BindingSource.EndEdit() Effect Pin
Sassan Komeili Zadeh18-Apr-06 4:02
MemberSassan Komeili Zadeh18-Apr-06 4:02 
QuestionQuestion: How to specify default property to debugger? Pin
Guido_d18-Apr-06 3:03
MemberGuido_d18-Apr-06 3:03 
Hi,

Does anyone know how to specify the default property on a class?

For instance.

I have a class called MyClassType with two properties, Name and Age. When debugging I
can move my mouse over a variable of this type, eg:

MyClassType mc = new MyClassType();

mc.Name="john";
mc.Age=100;

When I move the mouse at runtime over the last line and it will say: " mc = {MyClassType} "

However, with certain classes from the framework, eg string, enum, ArrayList etc it will show the value of one of its members. For this class it should look like:

mc {Name="john"}

Does anyone know which attribute I should use to enable this behaviour? This should save a lot of time in pressing ctrl-q and finding the correct member Smile | :) I tried decompiling the arraylist class but that didn't reveal any info.




AnswerRe: Question: How to specify default property to debugger? Pin
Dave Kreskowiak18-Apr-06 3:32
mveDave Kreskowiak18-Apr-06 3:32 
GeneralRe: Question: How to specify default property to debugger? Pin
Ricardo Casquete19-Apr-06 3:36
MemberRicardo Casquete19-Apr-06 3:36 
GeneralRe: Question: How to specify default property to debugger? Pin
Dave Kreskowiak19-Apr-06 6:42
mveDave Kreskowiak19-Apr-06 6:42 
GeneralRe: Question: How to specify default property to debugger? Pin
Ricardo Casquete19-Apr-06 7:23
MemberRicardo Casquete19-Apr-06 7:23 
GeneralRe: Question: How to specify default property to debugger? Pin
Guido_d20-Apr-06 0:11
MemberGuido_d20-Apr-06 0:11 
GeneralRe: Question: How to specify default property to debugger? Pin
Dave Kreskowiak20-Apr-06 3:34
mveDave Kreskowiak20-Apr-06 3:34 
Questioncreating cd-rom database application Pin
vijayendra_shinde18-Apr-06 1:12
Membervijayendra_shinde18-Apr-06 1:12 
AnswerRe: creating cd-rom database application Pin
Dave Kreskowiak18-Apr-06 3:24
mveDave Kreskowiak18-Apr-06 3:24 
QuestionLow level operations to devices Pin
fvalerin17-Apr-06 10:48
Memberfvalerin17-Apr-06 10:48 
AnswerRe: Low level operations to devices Pin
Dan Neely17-Apr-06 11:40
MemberDan Neely17-Apr-06 11:40 
QuestionConverse of measurestring Pin
deletethisprofile17-Apr-06 7:18
Memberdeletethisprofile17-Apr-06 7:18 
AnswerRe: Converse of measurestring Pin
Guffa17-Apr-06 7:42
MemberGuffa17-Apr-06 7:42 
QuestionASP.NET not working Pin
Petals16-Apr-06 20:59
MemberPetals16-Apr-06 20:59 
AnswerRe: ASP.NET not working Pin
Ravi Bhavnani16-Apr-06 21:12
professionalRavi Bhavnani16-Apr-06 21:12 
GeneralRe: ASP.NET not working Pin
Kevin McFarlane22-Apr-06 6:21
MemberKevin McFarlane22-Apr-06 6:21 
Questionvisual studio.net 2003 script engine error on parsing script file Pin
Shahid_78615-Apr-06 7:25
MemberShahid_78615-Apr-06 7:25 
AnswerRe: visual studio.net 2003 script engine error on parsing script file Pin
Dave Kreskowiak16-Apr-06 2:58
mveDave Kreskowiak16-Apr-06 2:58 

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.