Click here to Skip to main content
12,816,654 members (32,678 online)

.NET Framework

 
AnswerRe: Requesting help chasing a .net memory leak Pin
Eddy Vluggen11-Aug-14 8:51
professionalEddy Vluggen11-Aug-14 8:51 
GeneralRe: Requesting help chasing a .net memory leak Pin
Joshua Gayou11-Aug-14 11:48
memberJoshua Gayou11-Aug-14 11:48 
AnswerRe: Requesting help chasing a .net memory leak Pin
Joshua Gayou11-Aug-14 14:08
memberJoshua Gayou11-Aug-14 14:08 
QuestionCS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
demoninside98-Aug-14 21:50
memberdemoninside98-Aug-14 21:50 
AnswerRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
PIEBALDconsult8-Aug-14 21:56
memberPIEBALDconsult8-Aug-14 21:56 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
demoninside98-Aug-14 22:13
memberdemoninside98-Aug-14 22:13 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
PIEBALDconsult9-Aug-14 6:24
memberPIEBALDconsult9-Aug-14 6:24 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
Dave Kreskowiak9-Aug-14 7:25
mvpDave Kreskowiak9-Aug-14 7:25 
I really hate to tell you this but the size of the problem does not justify whether the solution is "right" or not. If you didn't make a bad coding decision in the first place and use it across 30 pages the solution wouldn't be so big either.

Creating a type called "var" is a bad idea as is naming any of your types after a reserved word in any language. It just leads to ambiguity problems for the compiler (as you've found out) and makes it very difficult to understand the code and debug it.

C# keywords list[^]

GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
demoninside98-Aug-14 22:22
memberdemoninside98-Aug-14 22:22 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
PIEBALDconsult9-Aug-14 6:23
memberPIEBALDconsult9-Aug-14 6:23 
AnswerRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
Richard MacCutchan8-Aug-14 23:39
protectorRichard MacCutchan8-Aug-14 23:39 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
demoninside99-Aug-14 1:35
memberdemoninside99-Aug-14 1:35 
QuestionRetrieve information from UDL file Pin
Ashfaque Hussain4-Aug-14 20:23
memberAshfaque Hussain4-Aug-14 20:23 
AnswerRe: Retrieve information from UDL file Pin
Eddy Vluggen5-Aug-14 3:37
professionalEddy Vluggen5-Aug-14 3:37 
QuestionControls resize to init after changing language Pin
ChriSSi0034-Aug-14 2:36
memberChriSSi0034-Aug-14 2:36 
AnswerRe: Control resize to init after changing language Pin
Eddy Vluggen4-Aug-14 3:00
professionalEddy Vluggen4-Aug-14 3:00 
AnswerRe: Control resize to init after changing language Pin
Bernhard Hiller4-Aug-14 21:49
professionalBernhard Hiller4-Aug-14 21:49 
GeneralRe: Control resize to init after changing language Pin
ChriSSi0034-Aug-14 22:26
memberChriSSi0034-Aug-14 22:26 
GeneralRe: Control resize to init after changing language Pin
Bernhard Hiller5-Aug-14 0:38
professionalBernhard Hiller5-Aug-14 0:38 
GeneralRe: Control resize to init after changing language Pin
ChriSSi0035-Aug-14 1:49
memberChriSSi0035-Aug-14 1:49 
Question.net memory leaks Pin
Bret Stern3-Aug-14 17:10
memberBret Stern3-Aug-14 17:10 
AnswerRe: .net memory leaks Pin
MarkLTX3-Aug-14 17:40
memberMarkLTX3-Aug-14 17:40 
GeneralRe: .net memory leaks Pin
Bret Stern3-Aug-14 19:46
memberBret Stern3-Aug-14 19:46 
AnswerRe: .net memory leaks Pin
Dave Kreskowiak3-Aug-14 18:26
mvpDave Kreskowiak3-Aug-14 18:26 
GeneralRe: .net memory leaks Pin
Bret Stern3-Aug-14 19:44
memberBret Stern3-Aug-14 19:44 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.170308.1 | Last Updated 15 Mar 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid