15,887,027 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by cechode (Top 23 by date)
cechode
8-May-14 13:42pm
View
Reason for my vote of 1 \n this is not an article i'm sorry.
cechode
2-Aug-12 13:20pm
View
yeah :) "MyItems is always empty" i am looking for the appropriate way to get a list of myitems with the main object (myclass) back to the server to that i can store it. as of now the value of MyItems is always an empty list. ( do you know where i can find a tutorial that explains this a bit? ( everything i saw so far only deals with a simple object with string/int/date properties. or a master detail scenario ( which this is not )
cechode
12-Dec-11 19:50pm
View
Deleted
Reason for my vote of 1
might as well be a tip on how to declare an int.
cechode
11-Oct-11 11:04am
View
Deleted
Reason for my vote of 5
i like it better than mine
cechode
18-Jul-11 16:13pm
View
Deleted
Are you missing the keyword dynamic in your
var p = result as IDictionary<string,>;
otherwise looks good :)
cechode
18-Jul-11 12:13pm
View
Deleted
Reason for my vote of 2
code produced a stackover flow exception :(
cechode
13-Jul-11 13:30pm
View
is the click bound to some jscript? ( if so you can invoke that directly as well )
cechode
10-May-11 12:55pm
View
ouch a 1 vote ( heh )
cechode
8-Apr-11 15:03pm
View
Deleted
actually that's probably a great rule !
cechode
8-Apr-11 14:56pm
View
Deleted
no approval :( ( heh )
cechode
8-Apr-11 14:12pm
View
Deleted
"Dirty and wrong" in this context pertains to whether or not you are willing to deal with throwing the exception rather than dealing with preventing it from happening in the first place.
not as in "absolutely never" in this case i'd ask which is more expensive reflection always or exception when something in the graph is null
lastly it’s an alternative caus it does the function result is fairly the same thing here
cechode
5-Apr-11 15:55pm
View
now this is what i call a GOOD DAY !
thank you guys, between the Expression path and the ExpressionVisitor path i have learned alot today!!!
( also learned that just because you can does not mean you should :) )
thx again all .
cechode
5-Apr-11 15:03pm
View
GetInvocationList does not return the desierd information!
the usage is simple. Do something based on either the name of the last member in the tree or a value of an attribute that might exist on that ;ast member. ( FirstName in the exampe above )
cechode
5-Apr-11 15:00pm
View
LOL thx, not sure what i was thinking about ( heh)
actually i'm just a horrible speller :)
thx
cechode
1-Apr-11 19:52pm
View
Awsome! many thanks. works like a charm
cechode
29-Mar-11 10:33am
View
Deleted
how do i move my alternate from a pending state? ( been like that since last night )
cechode
15-Feb-11 15:38pm
View
Murphy's law does not take into account the "reason" for why it will go wrong.
He's not bound to make a spelling mistake because he corrects someone else spelling error.
He made the mistake because it was there to be made. :)
cechode
2-Feb-11 14:51pm
View
Deleted
alternate not replacement :)
( still wish you'd answer with a bit more detail my last question as to what would run different when under that process )
cechode
2-Feb-11 0:40am
View
Deleted
why did you need to know if you're running under the IDE process or not. ( as apposed to weather or not you are debugging or not? )
if you don't mind me asking.
cechode
14-Dec-10 23:26pm
View
Deleted
if you have 2 lists with 2 elements each, you call that selector 8 times
cechode
14-Dec-10 15:24pm
View
Deleted
i was gonna diss it for the amount of times the selector gets executed in this solution but then i re-looked at mine and thought ( well if it wasn't for the sort requirement.... :) )
gj
cechode
9-Dec-10 14:28pm
View
Deleted
OR :)
implement a
public class DelegateComparer<t> : IEqualityComparer<t>{}
then add an extensions
public static IEnumerable<t> Distinct<t>(this IEnumerable<t> items, Func<t, t,="" bool=""> equals, Func<t, int=""> hashCode)
{
return items.Distinct(new DelegateComparer<t>(equals, hashCode));
}
and then you can call
.Distinct((a, b) => a.Mission_ID== b.Mission_ID, c => c.Mission_ID.GetHashCode());
cechode
8-Dec-10 16:45pm
View
not sure why i didnt think of that ?!? ( i actually utilized that about a year ago )
heh
Show More