Click here to Skip to main content
15,905,238 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Button control Pin
Paul Conrad21-Jul-07 4:50
professionalPaul Conrad21-Jul-07 4:50 
Answerlogout problem[modified] Pin
daku120-Jul-07 9:46
daku120-Jul-07 9:46 
AnswerRe: C# logout ploblem Pin
daku120-Jul-07 13:11
daku120-Jul-07 13:11 
AnswerRe: C# logout ploblem Pin
T.EDY20-Jul-07 16:08
T.EDY20-Jul-07 16:08 
QuestionHelp with .chm Pin
RussBus20-Jul-07 9:39
RussBus20-Jul-07 9:39 
AnswerRe: Help with .chm Pin
leckey20-Jul-07 10:11
leckey20-Jul-07 10:11 
AnswerRe: Help with .chm Pin
ekynox20-Jul-07 14:21
ekynox20-Jul-07 14:21 
Questionc# literal conversion Pin
Chris Rickard20-Jul-07 9:33
Chris Rickard20-Jul-07 9:33 
AnswerRe: c# literal conversion Pin
Luc Pattyn20-Jul-07 17:45
sitebuilderLuc Pattyn20-Jul-07 17:45 
GeneralRe: c# literal conversion Pin
Chris Rickard20-Jul-07 18:07
Chris Rickard20-Jul-07 18:07 
GeneralRe: c# literal conversion Pin
Luc Pattyn20-Jul-07 18:21
sitebuilderLuc Pattyn20-Jul-07 18:21 
GeneralRe: c# literal conversion Pin
Chris Rickard20-Jul-07 18:32
Chris Rickard20-Jul-07 18:32 
QuestionRetrieve build-configuration in VS2003 Pin
AlexZieg7120-Jul-07 9:23
AlexZieg7120-Jul-07 9:23 
AnswerRe: Retrieve build-configuration in VS2003 Pin
Dave Kreskowiak20-Jul-07 9:55
mveDave Kreskowiak20-Jul-07 9:55 
QuestionMethods with generic value type parameters in C# [modified] Pin
gshen20-Jul-07 8:18
gshen20-Jul-07 8:18 
AnswerRe: Methods with generic value type parameters in C# Pin
Kevin McFarlane20-Jul-07 8:38
Kevin McFarlane20-Jul-07 8:38 
GeneralRe: Methods with generic value type parameters in C# Pin
gshen20-Jul-07 8:47
gshen20-Jul-07 8:47 
GeneralRe: Methods with generic value type parameters in C# Pin
Dave Kreskowiak20-Jul-07 9:01
mveDave Kreskowiak20-Jul-07 9:01 
You might want to re-read Kevin's post. What you want to do, at least how your doing it, isn't possible!

You're assuming that a minus operation is possible on ANY TWO OBJECTS you give this code and that's just not the case. THAT'S what the compiler is trying to tell you! Your code, if it were to compile, leaves open the possibility of
dif = SqlConnection - SqlConnection, which, obviously, isn't valid.<br />
<br />
 <br />
<br />
<div class="ForumSig"><small><a href="http://www.codeproject.com/scrapbook/ForumGuidelines.asp">A guide to posting questions on CodeProject</a>[<a href="http://www.codeproject.com/scrapbook/ForumGuidelines.asp" target="_blank" title="New Window">^</a>]</small><br><br />
<font color="Blue">Dave Kreskowiak<br />
Microsoft MVP<br />
Visual Developer - Visual Basic<br>     2006, 2007</font><br />
</div>

GeneralRe: Methods with generic value type parameters in C# Pin
Kevin McFarlane20-Jul-07 9:02
Kevin McFarlane20-Jul-07 9:02 
GeneralRe: Methods with generic value type parameters in C# Pin
gshen20-Jul-07 9:10
gshen20-Jul-07 9:10 
GeneralRe: Methods with generic value type parameters in C# Pin
Dave Kreskowiak20-Jul-07 9:51
mveDave Kreskowiak20-Jul-07 9:51 
GeneralRe: Methods with generic value type parameters in C# Pin
Larantz21-Jul-07 9:51
Larantz21-Jul-07 9:51 
GeneralRe: Methods with generic value type parameters in C# Pin
Dave Kreskowiak22-Jul-07 4:21
mveDave Kreskowiak22-Jul-07 4:21 
QuestionDetecting when multiple BackgroundWorkers are finished Pin
dilucidate20-Jul-07 8:05
dilucidate20-Jul-07 8:05 
AnswerRe: Detecting when multiple BackgroundWorkers are finished Pin
led mike20-Jul-07 8:23
led mike20-Jul-07 8: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.