Click here to Skip to main content
15,891,372 members
Home / Discussions / C#
   

C#

 
AnswerRe: Need translation from C# to VB Pin
Sebastian Schneider20-Sep-06 4:56
Sebastian Schneider20-Sep-06 4:56 
AnswerRe: Need translation from C# to VB Pin
Dan Neely20-Sep-06 5:25
Dan Neely20-Sep-06 5:25 
AnswerRe: Need translation from C# to VB Pin
Dave Kreskowiak20-Sep-06 6:28
mveDave Kreskowiak20-Sep-06 6:28 
GeneralRe: Need translation from C# to VB Pin
Are Jay21-Sep-06 4:18
Are Jay21-Sep-06 4:18 
GeneralRe: Need translation from C# to VB Pin
Dave Kreskowiak21-Sep-06 12:56
mveDave Kreskowiak21-Sep-06 12:56 
QuestionDifference between Interface and Class Pin
Nadia Monalisa20-Sep-06 4:25
Nadia Monalisa20-Sep-06 4:25 
AnswerRe: Difference between Interface and Class Pin
Jun Du20-Sep-06 4:38
Jun Du20-Sep-06 4:38 
AnswerRe: Difference between Interface and Class Pin
f*** YOU20-Sep-06 4:50
f*** YOU20-Sep-06 4:50 
An interface contains empty methods, properties, and events (and mabe some other things). When a class "inherits" an interface that class must implement all that is defined in the interface. Interface members must be public and the class "inheriting" the interface must expose all the interface members a public. Create a simple interface with a method or two and make a class that impliments it. Visual Studio 2005 can implement the interface for you if you tell it to do so.

interface AGetter
{
  Stuff GetTheStuff();
} 

class StuffGetter : AGetter
{
  //you must implement anthing in the AGetter interface and all must be public
  //or else you will get a compiler error.
  public Stuff GetTheStuff()
  {
    Console.WriteLine("Gettin the stuff...");
    Stuff aBunchOfStuff;
    ...
    returm aBunchOfStuff;
  }
}


static int Sqrt(int x) { if (x<0) throw new ArgumentOutOfRangeException(); int temp, y=0, b=0x8000, bshft=15, v=x; do { if (v>=(temp=(y<<1)+b<<bshft--)) {="" y+="b;" v-="temp;" }="" while="" ((b="">>=1)>0); return y; OMG | :OMG:

GeneralRe: Difference between Interface and Class Pin
Nadia Monalisa20-Sep-06 5:51
Nadia Monalisa20-Sep-06 5:51 
AnswerRe: Difference between Interface and Class Pin
Guffa20-Sep-06 6:32
Guffa20-Sep-06 6:32 
AnswerRe: Difference between Interface and Class Pin
Jun Du20-Sep-06 7:41
Jun Du20-Sep-06 7:41 
GeneralRe: Difference between Interface and Class Pin
f*** YOU20-Sep-06 7:42
f*** YOU20-Sep-06 7:42 
Questionusing .Net component in unmanaged component without registrying Pin
nadeemahmad20-Sep-06 4:20
nadeemahmad20-Sep-06 4:20 
QuestionSQLite or SQL Server Everywhere ! Which one is better !? Pin
Nadia Monalisa20-Sep-06 4:17
Nadia Monalisa20-Sep-06 4:17 
AnswerRe: SQLite or SQL Server Everywhere ! Which one is better !? Pin
Member 9620-Sep-06 7:07
Member 9620-Sep-06 7:07 
QuestionHow do I make Dropshadow on a UserControl Pin
Jan-Erik Romoeren20-Sep-06 4:14
Jan-Erik Romoeren20-Sep-06 4:14 
Questiondatagrid fill in complete area Pin
Amar Chaudhary20-Sep-06 4:08
Amar Chaudhary20-Sep-06 4:08 
Question.NET Framework Pin
kalyanPaladugu20-Sep-06 3:59
kalyanPaladugu20-Sep-06 3:59 
AnswerRe: .NET Framework Pin
kalyanPaladugu20-Sep-06 5:13
kalyanPaladugu20-Sep-06 5:13 
Questionhow to put a string in an array Pin
faladrim20-Sep-06 3:58
faladrim20-Sep-06 3:58 
AnswerRe: how to put a string in an array Pin
Coding C#20-Sep-06 4:09
Coding C#20-Sep-06 4:09 
GeneralRe: how to put a string in an array Pin
faladrim20-Sep-06 4:25
faladrim20-Sep-06 4:25 
GeneralRe: how to put a string in an array Pin
faladrim20-Sep-06 4:34
faladrim20-Sep-06 4:34 
GeneralRe: how to put a string in an array Pin
Coding C#20-Sep-06 4:40
Coding C#20-Sep-06 4:40 
QuestionHow to upload file to HTTPS site Pin
tb6020-Sep-06 3:47
tb6020-Sep-06 3: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.