1,524
Loading...
Uploader Comments (dnfvideo)
Video Responses
This video is a response to 5 tips to debug c# program using visual studio 2010 ( f10,11 watch windows and intellitrace)
see all
All Comments (14)
-
@4:03, you do not need to allocate any memory....because it will be allocated by the Split function...You are anyway allocating wrong memory( 3 count vs 4) which don't need anyway
-
many thanks - great video
-
excellent video......
I didnt know how to use tuples but now i know.........
-
Thank you very much Sir, I didn't know about anonymous types and tuples. I knew only about out variables
-
@dnfvideo Cool and keep up the good work uploading great vids
Loading...
I didn't know you could use aq 2nd 'copy' of an anonymous type like you did in the Cast method. Every day's a school day!
StuartHemming 6 months ago
@StuartHemming I agree...there is always room for improvment
dnfvideo 6 months ago
Anonymous types are definitely preferable to tuples in C# since the language does not have good tuple support.
I think it would be better to use continuation-passing style. The example was almost there. Instead of using the Cast method, just make the ParseData method return T, then use a selector Func as the final parameter.
Thanks for the video, keep the coming!
kodefuguru 6 months ago
@kodefuguru Thanks i agree that would me much easier.
dnfvideo 6 months ago