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

C#

 
GeneralRe: Late binding to objects... Pin
Ryan Cromwell30-Jul-02 9:33
Ryan Cromwell30-Jul-02 9:33 
GeneralRe: Late binding to objects... Pin
Eric Gunnerson (msft)30-Jul-02 9:49
Eric Gunnerson (msft)30-Jul-02 9:49 
GeneralRe: Late binding to objects... Pin
leppie31-Jul-02 2:12
leppie31-Jul-02 2:12 
GeneralRe: Late binding to objects... Pin
Eric Gunnerson (msft)31-Jul-02 6:48
Eric Gunnerson (msft)31-Jul-02 6:48 
QuestionWhy does OleDbDataAdaptor do this? Pin
Zombies with Coffee, LLC30-Jul-02 5:51
professionalZombies with Coffee, LLC30-Jul-02 5:51 
AnswerRe: Why does OleDbDataAdaptor do this? Pin
Zombies with Coffee, LLC30-Jul-02 6:18
professionalZombies with Coffee, LLC30-Jul-02 6:18 
Generalimplicit cast Pin
Christian Graus30-Jul-02 4:23
protectorChristian Graus30-Jul-02 4:23 
GeneralRe: implicit cast Pin
Nish Nishant30-Jul-02 5:23
sitebuilderNish Nishant30-Jul-02 5:23 
Christian Graus wrote:
Is it possible to create a class, call it a, and make it implicity accept a reasonable cast, for example

string s = MyA;

???


using System;

class Nish
{
	public static void Main()
	{
		string s = new Nish("Christian Graus");
		Console.WriteLine(s);
	}

	public Nish(string s)
	{
		m_s = s;
	}

	public static implicit operator string(Nish a)
	{
		return a.m_s;
	}
	private string m_s;
}



Author of the romantic comedy

Summer Love and Some more Cricket [New Win]

Review by Shog9
Click here for review[NW]

GeneralRe: implicit cast Pin
Christian Graus30-Jul-02 12:27
protectorChristian Graus30-Jul-02 12:27 
GeneralRe: implicit cast Pin
James T. Johnson30-Jul-02 16:22
James T. Johnson30-Jul-02 16:22 
GeneralRe: implicit cast Pin
Christian Graus30-Jul-02 17:17
protectorChristian Graus30-Jul-02 17:17 
GeneralDLL Hell Pin
gekoscan30-Jul-02 2:38
gekoscan30-Jul-02 2:38 
GeneralRe: DLL Hell Pin
Eric Gunnerson (msft)30-Jul-02 8:48
Eric Gunnerson (msft)30-Jul-02 8:48 
GeneralPutting bitmap to RTF Pin
tomiga29-Jul-02 20:59
tomiga29-Jul-02 20:59 
GeneralRe: Putting bitmap to RTF Pin
leppie30-Jul-02 0:52
leppie30-Jul-02 0:52 
GeneralRe: Putting bitmap to RTF Pin
tomiga30-Jul-02 1:08
tomiga30-Jul-02 1:08 
GeneralData modules Pin
Harilaos Sfougaris29-Jul-02 19:39
Harilaos Sfougaris29-Jul-02 19:39 
QuestionIs there some body who is familiar with .vsz file? Pin
Feng Qin29-Jul-02 17:01
Feng Qin29-Jul-02 17:01 
General.NET Framework Version Pin
Jamie Nordmeyer29-Jul-02 12:57
Jamie Nordmeyer29-Jul-02 12:57 
GeneralRe: .NET Framework Version Pin
Feng Qin29-Jul-02 17:19
Feng Qin29-Jul-02 17:19 
GeneralRe: .NET Framework Version Pin
James T. Johnson29-Jul-02 20:21
James T. Johnson29-Jul-02 20:21 
GeneralRe: .NET Framework Version Pin
Jamie Nordmeyer30-Jul-02 6:16
Jamie Nordmeyer30-Jul-02 6:16 
GeneralRe: .NET Framework Version Pin
Andy Smith30-Jul-02 8:36
Andy Smith30-Jul-02 8:36 
GeneralRe: .NET Framework Version Pin
Jamie Nordmeyer30-Jul-02 8:40
Jamie Nordmeyer30-Jul-02 8:40 
GeneralRe: .NET Framework Version Pin
Andy Smith30-Jul-02 10:47
Andy Smith30-Jul-02 10:47 

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.