A Few Quick Questions
-
Good People, What do the following words mean in C#? Partial Refactoring Delegates Thanks, BP
-
Good People, What do the following words mean in C#? Partial Refactoring Delegates Thanks, BP
-
Good People, What do the following words mean in C#? Partial Refactoring Delegates Thanks, BP
-
Good People, What do the following words mean in C#? Partial Refactoring Delegates Thanks, BP
I'm not sure why you're asking this, if not for homework ? Refactoring means the same in any language. Partial means you're using VS2005, it's a new keyword. A delegate is a fancy function pointer.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
I'm not sure why you're asking this, if not for homework ? Refactoring means the same in any language. Partial means you're using VS2005, it's a new keyword. A delegate is a fancy function pointer.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
LOL - it's not for homework. (After 12 years of college/grad school primarily in the 90s, those days are long gone.) I am learning C# here at work and want to use it for my first software project. I'm self-taught. Thanks for your answers, BP
-
Good People, What do the following words mean in C#? Partial Refactoring Delegates Thanks, BP
-
Thanks Ed, I appreciate your answers. Sincerely, BP
-
LOL - it's not for homework. (After 12 years of college/grad school primarily in the 90s, those days are long gone.) I am learning C# here at work and want to use it for my first software project. I'm self-taught. Thanks for your answers, BP
BlitzPackage wrote:
I am learning C# here at work and want to use it for my first software project.
OK - google would have answered them all, but... a partial class has more than one .cs file, you just put 'partial' in your class definition, and the compiler will find all files relating to a class and merge them Refactoring means to take existing code and change it's structure, most commonly by breaking a large function into several smaller ones. A delegate is a function pointer, like I said. That means, a variable represents a function which can be assigned and called in code. All the event handlers in your forms code, like when you click a button, is handled with delegates.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
BlitzPackage wrote:
I am learning C# here at work and want to use it for my first software project.
OK - google would have answered them all, but... a partial class has more than one .cs file, you just put 'partial' in your class definition, and the compiler will find all files relating to a class and merge them Refactoring means to take existing code and change it's structure, most commonly by breaking a large function into several smaller ones. A delegate is a function pointer, like I said. That means, a variable represents a function which can be assigned and called in code. All the event handlers in your forms code, like when you click a button, is handled with delegates.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
Thanks Christian, BP
-
Good People, What do the following words mean in C#? Partial Refactoring Delegates Thanks, BP
hi 1. Partial - its a new kyeword introduced in c#2.0 and is use to write a class in distributed form E.G - look at the designer of your form it is Form1.designer and where u write code is partial class form1. similarly u can have no. of class u want with the same name like partial Form1 and write and these will be combined in a single class i.e Form1.. Realy a good feature..like Sometime when no.of developers need to work on same class and so others. 2. Refactoring - provided to help u need writting templetes in code. For C# there is inbuilt Refactoring in dot net and for VB.net need to install third party. one can provide own code snipette and use refactoring to use them Simple best way to make lazy programmer. 3. Delegate - this is a something that works between event source and event target. It handles the event. Atul kumar