Click here to Skip to main content
15,889,403 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to achieve cell_doubleclick event to be fired on gridview Pin
Pete O'Hanlon23-May-17 0:12
mvePete O'Hanlon23-May-17 0:12 
QuestionMerging 2 different JSON objects Pin
Farhad Eft21-May-17 21:41
Farhad Eft21-May-17 21:41 
AnswerRe: Merging 2 different JSON objects Pin
Richard MacCutchan21-May-17 22:49
mveRichard MacCutchan21-May-17 22:49 
GeneralRe: Merging 2 different JSON objects Pin
Farhad Eft24-May-17 0:41
Farhad Eft24-May-17 0:41 
Questionbest way to Lazy-Load a Dictionary' s 'Values ? Pin
BillWoodruff18-May-17 6:51
professionalBillWoodruff18-May-17 6:51 
AnswerRe: best way to Lazy-Load a Dictionary' s 'Values ? Pin
Afzaal Ahmad Zeeshan18-May-17 8:34
professionalAfzaal Ahmad Zeeshan18-May-17 8:34 
GeneralRe: best way to Lazy-Load a Dictionary' s 'Values ? Pin
BillWoodruff18-May-17 14:47
professionalBillWoodruff18-May-17 14:47 
GeneralRe: best way to Lazy-Load a Dictionary' s 'Values ? Pin
Afzaal Ahmad Zeeshan18-May-17 23:03
professionalAfzaal Ahmad Zeeshan18-May-17 23:03 
I have also not worked too much in this context because most of my data sources are SQL based databases, so I try to load only the data that I require,
SQL
SELECT TOP 10 FROM table_name ... 
That works like a charm in my cases.
BillWoodruff wrote:
instantiating one with 'new does not allocate memory for what it wraps
Of course, that is why I provided the Entity Framework example, they provide a function Include, which you execute and they then load the rest of the data, until then the objects are null. That EF code, gave me a hint that in most cases I should just leave the objects to null and then yield them when needed; this works in some cases. This yield does somewhat better, as it does provide the objects when we actually iterate over them (use them).

As for C# 7, I just didn't get enough time to actually experiment around with them like I did with C# 6, as I was busy with my final year project and some academics stuff. Smile | :)
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

AnswerRe: best way to Lazy-Load a Dictionary' s 'Values ? Pin
Richard Deeming18-May-17 11:48
mveRichard Deeming18-May-17 11:48 
GeneralRe: best way to Lazy-Load a Dictionary' s 'Values ? Pin
BillWoodruff18-May-17 14:52
professionalBillWoodruff18-May-17 14:52 
GeneralRe: best way to Lazy-Load a Dictionary' s 'Values ? Pin
Richard Deeming23-May-17 1:02
mveRichard Deeming23-May-17 1:02 
Questionhow to implement dynamic range compression for audio? Pin
Member 1319657418-May-17 3:45
Member 1319657418-May-17 3:45 
AnswerRe: how to implement dynamic range compression for audio? Pin
Richard MacCutchan18-May-17 3:47
mveRichard MacCutchan18-May-17 3:47 
GeneralRe: how to implement dynamic range compression for audio? Pin
Member 1319657418-May-17 3:56
Member 1319657418-May-17 3:56 
GeneralRe: how to implement dynamic range compression for audio? Pin
Richard MacCutchan18-May-17 3:58
mveRichard MacCutchan18-May-17 3:58 
GeneralRe: how to implement dynamic range compression for audio? Pin
kalberts23-May-17 22:09
kalberts23-May-17 22:09 
AnswerRe: how to implement dynamic range compression for audio? Pin
Gerry Schmitz18-May-17 5:51
mveGerry Schmitz18-May-17 5:51 
GeneralRe: how to implement dynamic range compression for audio? Pin
Member 1319657418-May-17 10:34
Member 1319657418-May-17 10:34 
QuestionSound Recognition system Pin
Member 1182866018-May-17 1:37
Member 1182866018-May-17 1:37 
AnswerRe: Sound Recognition system Pin
Pete O'Hanlon18-May-17 1:50
mvePete O'Hanlon18-May-17 1:50 
GeneralRe: Sound Recognition system Pin
ZurdoDev18-May-17 3:27
professionalZurdoDev18-May-17 3:27 
AnswerRe: Sound Recognition system Pin
Jochen Arndt18-May-17 1:56
professionalJochen Arndt18-May-17 1:56 
Questionhttp request and reply in c# by adding headers also Pin
yeswanthkumar17-May-17 20:34
yeswanthkumar17-May-17 20:34 
AnswerRe: http request and reply in c# by adding headers also Pin
Afzaal Ahmad Zeeshan17-May-17 21:00
professionalAfzaal Ahmad Zeeshan17-May-17 21:00 
GeneralRe: http request and reply in c# by adding headers also Pin
yeswanthkumar17-May-17 21:23
yeswanthkumar17-May-17 21:23 

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.