Click here to Skip to main content
15,896,371 members
Home / Discussions / C#
   

C#

 
AnswerRe: Best way to validate dates? Pin
Nick Parker29-Oct-04 14:20
protectorNick Parker29-Oct-04 14:20 
QuestionHow to initially set the focus to a control Pin
Luis Alonso Ramos29-Oct-04 9:28
Luis Alonso Ramos29-Oct-04 9:28 
AnswerRe: How to initially set the focus to a control Pin
Luis Alonso Ramos29-Oct-04 9:44
Luis Alonso Ramos29-Oct-04 9:44 
GeneralC# Double arithmetic producing unstable answers Pin
ldself29-Oct-04 7:46
ldself29-Oct-04 7:46 
GeneralRe: C# Double arithmetic producing unstable answers Pin
Nick Parker29-Oct-04 8:15
protectorNick Parker29-Oct-04 8:15 
GeneralRe: C# Double arithmetic producing unstable answers Pin
Hugo Migneron29-Oct-04 8:17
Hugo Migneron29-Oct-04 8:17 
GeneralRe: C# Double arithmetic producing unstable answers Pin
Nick Parker29-Oct-04 15:08
protectorNick Parker29-Oct-04 15:08 
Generalstructs and 'using' Pin
Nemanja Trifunovic29-Oct-04 6:47
Nemanja Trifunovic29-Oct-04 6:47 
A question for C# language experts:

If I have a struct that implements IDisposable:

struct C : IDisposable
{
  public int clan;
  public void Dispose()
  {
  Console.WriteLine("Disposing");
  }
}


And later in the code something like:
using (C s = new C())
{
  s.clan = 1;
}


A compiler error is reported:
error CS0131: The left-hand side of an assignment must be a variable, property or indexer


Confused | :confused:



My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
GeneralRe: structs and 'using' Pin
leppie29-Oct-04 9:02
leppie29-Oct-04 9:02 
GeneralRe: structs and 'using' Pin
Nemanja Trifunovic29-Oct-04 9:14
Nemanja Trifunovic29-Oct-04 9:14 
GeneralRe: structs and 'using' Pin
Ketty Avashia29-Oct-04 9:27
Ketty Avashia29-Oct-04 9:27 
GeneralRe: structs and 'using' Pin
Nemanja Trifunovic29-Oct-04 9:42
Nemanja Trifunovic29-Oct-04 9:42 
GeneralI got an answer on a C# newsgroup Pin
Nemanja Trifunovic29-Oct-04 10:00
Nemanja Trifunovic29-Oct-04 10:00 
GeneralRe: structs and 'using' Pin
Ami Bar29-Oct-04 12:16
Ami Bar29-Oct-04 12:16 
GeneralRe: structs and 'using' Pin
Nemanja Trifunovic29-Oct-04 12:27
Nemanja Trifunovic29-Oct-04 12:27 
GeneralRe: structs and 'using' Pin
Ami Bar29-Oct-04 12:51
Ami Bar29-Oct-04 12:51 
GeneralCant not get the ListView TextAlign Property to center Pin
Tony D. Abel29-Oct-04 5:37
Tony D. Abel29-Oct-04 5:37 
GeneralRe: Cant not get the ListView TextAlign Property to center Pin
sreejith ss nair29-Oct-04 5:51
sreejith ss nair29-Oct-04 5:51 
GeneralUser Control taking up too much resources Pin
xiaowenjie29-Oct-04 4:44
xiaowenjie29-Oct-04 4:44 
GeneralRe: User Control taking up too much resources Pin
sreejith ss nair29-Oct-04 4:47
sreejith ss nair29-Oct-04 4:47 
GeneralRe: User Control taking up too much resources Pin
xiaowenjie29-Oct-04 4:53
xiaowenjie29-Oct-04 4:53 
GeneralRe: User Control taking up too much resources Pin
sreejith ss nair29-Oct-04 4:59
sreejith ss nair29-Oct-04 4:59 
GeneralRe: User Control taking up too much resources Pin
xiaowenjie29-Oct-04 5:02
xiaowenjie29-Oct-04 5:02 
GeneralRe: User Control taking up too much resources Pin
xiaowenjie29-Oct-04 7:06
xiaowenjie29-Oct-04 7:06 
GeneralRe: User Control taking up too much resources Pin
xiaowenjie29-Oct-04 7:28
xiaowenjie29-Oct-04 7:28 

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.