Dec
17
awarded Notable Question
Jul
2
awarded Curious
Nov
5
awarded Famous Question
Oct
28
awarded Popular Question
Apr
18
awarded Yearling
Oct
9
awarded Good Question
Nov
5
accepted How can I implement custom attributes in .NET 2.0?
Nov
5
comment How can I implement custom attributes in .NET 2.0?
thanks for all your help.Buon fine settimana
Nov
5
comment How can I implement custom attributes in .NET 2.0?
Suppose I wanted to use reflection how would I use your function within the attribute?In the ToStringOverride?
Nov
5
comment How can I implement custom attributes in .NET 2.0?
Thanks for your example.Need to write to a file 280 columns and each field has different formatting and is dictated by client specification.I thought rather than calling a function for each property I create something neater and use attributes on the property and code will be much cleaner.From what you saying I dont seem to have an option.
Nov
5
comment How can I implement custom attributes in .NET 2.0?
Thanks for your reply.If my understanding is right of what you are saying that I dont gain anything by using attributes. I wonder then how MS achieves this then [DisplayFormat(DataFormatString="{0:C}")]
Nov
5
asked How can I implement custom attributes in .NET 2.0?
Oct
16
accepted Linq to objects filtering IN and not in
Oct
16
comment Linq to objects filtering IN and not in
Thanks a lot .Silly me I should have realised when I put this noddy example together .
Oct
16
comment Linq to objects filtering IN and not in
Thanks for your reply I get "Cannot be inferred from usage".Is it because Department is an ENUM
Oct
16
asked Linq to objects filtering IN and not in
Jul
14
awarded Nice Question
Jul
14
accepted string.Empty vs null.Which one do you use?
Jul
14
comment string.Empty vs null.Which one do you use?
thanks for your answer.The reason I ask is because the tone used by my collegue when talking was more of a telling off one rather than an informative one,so I said to myself let me ask on stackoverflow.
Jul
14
comment string.Empty vs null.Which one do you use?
I never thought that way ,I have to admit.Given what you just said ,do you mind to give me an example.I know your explanation is self explanatory but still... thanks
1 2 3 4 5