Bart De Smet C# 4.0 UNLEASHED

Size: px
Start display at page:

Download "Bart De Smet C# 4.0 UNLEASHED"

Transcription

1 Bart De Smet C# 4.0 UNLEASHED

2 Table of Contents Introduction Who Should Read This Book? 2 What You Need to Know Before You Read This Book 2 How This Book Is Organized 3 Part I Introduction 1 Introducing the.net Platform 5 A Historical Perspective 5 Win32 Programming in C 6 Raising the Abstraction Level with MFC and C++ 6 Component-Driven Development with COM 7 Windows Development for the Masses in Visual Basic 7 Reaching Out to the Web with Windows DNA 8 Reaching Out to Java with J++ 8 Time for Lightning 8 A 10,000-Feet View of the.net Platform 9 The.NET Platform 9 The Common Language Infrastructure 12 The Multilanguage Aspect of.net 14 Introducing.NET Assemblies 15 The Common Type System Explained 17 What's Type Safety? 17 Primitive Types 19 Classes, Structures, and Enumerations 19 Interfaces 20 Delegates 21 Members 22 A Note on Generics 23 The Role of the Common Language Specification 23 Executing Managed Code 24 The Assembly Manifest 26 IL Code 27 Metadata 29 Mixing Languages 30 Diving into the Common Language Runtime 32 Bootstrapping the Runtime 33 Assembly Loading 35

3 vi C# 4.0 Unleashed Application Domains 37 JIT Compilation 39 Native Image Generation 42 Automatic Memory Management 43 Exception Handling 46 Code Access Security 47 Interoperability Facilities 49 The Base Class Library 51 Summary 54 2 Introducing the C# Programming Language 55 The Evolution of C# 55 C# 1.0: Managed Code Development, Take One 56 C# 2.0: Enriching the Core Language Features 59 C# 3.0: Bridging the Gap Between Objects and Data 64 C# 4.0: Reaching Out to Dynamic Languages 76 A Sneak Peek at the Future 89 Multiparadigm 89 Language-Shaping Forces 91 Compiler as a Service 92 Taming the Concurrency Beast 94 Summary 97 3 Getting Started with.net Development Using C# 99 Installing the.net Framework 99 The.NET Framework Version Landscape 99.NET Framework Running the Installer 106 What Got Installed? 106 Your First Application: Take One 109 Writing Compiling It Running the Code 110 Ill It 112 Inspecting Our Assembly with.net Reflector 112 Visual Studio Editions 117 Expression 119 Installing Visual Studio A Quick Tour Through Visual Studio Your First Application: Take Two 124 New Project Dialog 124 Solution Explorer 126 Project Properties 127

4 Contents vii 139 Code Editor 128 Build Support 130 Debugging Support 136 Object Browser 139 Code Insight Integrated Help 144 Designers 144 Server Explorer 155 Database Mappers 157 Unit Testing I63 Team Development 167 Summary 169 Part II C# The Language 4 Language Essentials 171 The Entry Point 171 A Trivial Console Application 171 Method Signatures 172 Allowed Entry-Point Signatures 173 Running the Sample 175 Under the Hood 176 Keywords 177 Contextual Keywords 178 Syntax Highlighting in Visual Studio 179 A Primer on Types 180 Code and Data 180 Types, Objects, and Instances 182 Variables 183 Classes and Other Types 184 Built-in Types 185 Integral Types 186 Floating-Point Types 190 The Decimal Type..194 The Boolean Type 196 The String Type 197 Object 198 Dynamic Typing 201 A Word on CLS Compliance 202 A Matter of Style: Aliases or Not? 208 Local Variables 209 Declaration 209 Scope 210

5 viii C# 4.0 Unleashed Assignment 212 Constants 213 Implicitly Typed Local Variable Declarations 215 Intermezzo on Comments 220 Single-Line Comments 220 A Primer to Preprocessing Directives 221 Delimited Comments 223 Documentation Comments 224 Arrays 228 Internal Representation 228 Single-Dimensional Arrays 229 Array Initializers 231 Jagged Arrays 233 Multidimensional Arrays 235 The Null Reference 237 What's Null Really? 237 A Common Source of Bugs 239 Nullable Value Types 240 Internal Representation 242 Use in C# 242 A Type Background 244 Summary Expressions and Operators 247 What Are Expressions? 247 Arity of Operators 248 Precedence and Associativity 248 Evaluation of Subexpressions 250 The Evaluation Stack 251 Arithmetic Operators 255 Integer Arithmetic 255 Floating-Point Arithmetic 255 Decimal Arithmetic 258 Character Arithmetic 259 Unary Plus and Minus 260 Overflow Checking 260 Arithmetic with Nullables 265 String Concatenation 266 Shift Operators 270 Relational Operators 271 Equality for Different Types 272 Lifted Operators 273

6 Contents ix Logical Operators Integral Bitwise Logical Operators 273 Use for Enumerations 274 Boolean Logical Operators 275 Nullable Boolean. Logic 277 Conditional Operators 278 Under the Hood 278 An Operator's Result Type 281 Associativity 282 Null-Coalescing Operator 282 Assignment 285 Decaration Versus (Simple) Assignment 285 Compound Assignment 287 A Gentle Introduction to Definite Assignment 290 Postfix and Prefix Increment and Decrement Operators 294 Summary A Primer on Types and Objects 299 Implicit Versus Explicit Conversions 299 Cast Expressions 300 The is Operator 306 The as Operator 311 Intermezzo: The Mythical Type Switch 315 The typeof Operator: A Sneak Peek at Reflection 317 Default Value Expression 320 Creating Objects with the new Operator 323 Behind the Scenes of Constructors 325 Object Initializers 328 Collection Initializers 333 Member Access 335 A First Look at Dynamic Typing 337 Invocation Expressions 339 Method Invocation 339 Delegate Invocation 341 Element Access 347 Summary Simple Control Flow 351 What Are Statements, Anyway? 351 Expression Statements 353 Method Calls 353 Assignments 354 Pre- and Post-Increment/Decrement 355

7 x C# 4.0 Unleashed The Empty Statement 355 Blocks 356 Declarations 357 Selection Statements 358 The if Statement 358 The switch Statement 363 Iteration Statements 376 The while Statement 376 The do...while Statement 380 The for Statement 381 The foreach Statement 384 A Peek at Iterators 392 Loops in the Age of Concurrency 400 The goto Statement 402 The return Statement 406 Summary Basics of Exceptions and Resource Management 409 Exception Handling 409 Exceptions Are Objects 411 Causes of Exceptions 412 Throwing Exceptions 423 Handling Exceptions 423 The finally Clause 432 Deterministic Resource Cleanup 438 Garbage Collection in a Nutshell 438 Object Disposal 439 The using Statement 441 Implementing idisposable 443 (In)appropriate Use of IDisposable 446 Locking on Objects 447 Under the Hood 449 The lock Statement 452 Intermezzo: Code Generation for Lock 456 Be Careful with Locks 458 Summary Introducing Types 463 Types Revisited 463 Classes Versus Structs 466 References Versus Values 466 Heap Versus Stack 470

8 Contents xi Boxing 478 The Dangers of Mutable Value Types 483 Type Members 486 Visibility 486 Static Versus Instance 490 Partial Types 496 Summary Methods 501 Defining Methods 501 Return Type 502 Parameters 504 Value Parameters 505 Reference Parameters 508 Output Parameters 508 Parameter Arrays 510 Optional and Named Parameters 512 Overloading 516 Defining Method Overloads 517 Method Groups 518 Overload Resolution 519 Extension Methods 522 Defining Extension Methods 524 Overload Resolution 526 Using Extension Methods 527 How the Compiler Marks and Finds Extension Methods 529 Partial Methods 532 Extern Methods 536 Refactoring 537 Code Analysis 543 Summary Fields, Properties, and Indexers 545 Fields 545 Declaring Fields 546 Accessing Fields 546 Initializing Fields 549 Read-Only Fields 553 Constants 555 Volatile Fields 557 An Intermezzo About Enums 558 Why Enums Matter 558 Underlying Types 559

9 xii C# 4.0 Unleashed Assigning Values to Members 559 The System. Enum Type 561 Flags 564 Revisiting the switch Statement 568 Behind the Scenes 568 Properties 569 Declaring and Using Properties 569 Auto-Implemented Properties 572 How Properties Work 573 Indexers 574 Defining Indexers 575 How Indexers Are Implemented 577 Summary Constructors and Finalizers 579 Constructors 579 Instance Constructors 579 Static Constructors 586 Destructors (Poorly Named Finalizers) 589 Defining Finalizers in C# 591 How Finalizers Are Run 591 How Finalizers Are Implemented 594 Disposal Before Collection: IDisposable 595 Summary Operator Overloading and Conversions 603 Operators 603 Defining Operators 604 How Operators Are Found 605 Nullability and Lifted Operators 606 Which Operators Can Be Overloaded? 609 Implementing Equality Operations 615 How Operators Are Translated 626 Conversions 627 Built-in Conversions 627 User-Defined Conversions 631 Other Conversion Mechanisms 638 Summary Object-Oriented Programming 643 The Cornerstones of Object Orientation 643 A Historical Perspective 643 Encapsulation 647

10 Contents xiii Inheritance 648 Polymorphism 654 Types in Pictures 656 Inheritance for Classes 657 Single Inheritance for Classes 661 Multiple Inheritance for Interfaces 663 Blocking Inheritance 665 Hiding Base Class Members 666 Protected Accessibility 669 Polymorphism and Virtual Members 670 Virtual Members 671 Overriding Virtual Members 673 Declaring Virtual Members 675 Sealing and Hiding: Take Two 676 How Virtual Dispatch Works 678 How Base Calls Work 682 Abstract Classes 683 Interfaces 686 Defining Interfaces 686 Some Design Recommendations 688 Implementing Interfaces 690 Summary Generic Types and Methods 697 Life Without Generics 697 A Real-World Example with Collections 697 Performance Worries 699 Getting Started with Generics 699 Declaring Generic Types 703 Using Generic Types 708 Performance Intermezzo 709 Operations on Type Parameters 714 Default Values 714 Getting the Type's Reflection Info Object 716 Generic Constraints 716 Interface-Based Constraints 717 Base Class Constraints 723 Default Constructor Constraint 724 Restriction to Value Types or Reference Types 731 Generic Methods 732 Co- and Contravariance 740 Annoyances with Generic Types 740 Broken Covariance for Array Types 741

11 xiv C# 4.0 Unleashed Safety Guarantees 744 Generic Co- and Contravariance 746 Under the Hood 748 Where to Use 750 Summary Collection Types 753 Nongeneric Collection Types 753 ArrayList 754 Hash Tables 755 Queue 758 Stack 759 Summary 761 Generic Collection Types 762 List<T> 762 SortedDictionary<TKey, TValue> and SortedList<TKey, TValue> 770 Queue<T> and Stack<T> 774 Other Collection Types 775 Summary Delegates 777 Functional Programming 777 Historical Perspective 778 Programming with Functions 779 What Are Delegates? 782 Delegate Types 782 Delegate Instances 787 Anonymous Function Expressions 789 Closures: Captured Outer Variables 790 Lambda Expressions 795 Expression Trees 797 Invoking Delegates 799 Putting It Together: An Extensible Calculator 803 Case Study: Delegates Used in LINQ to Objects 807 Asynchronous Invocation 811 Combining Delegates 824 Summary 831

12 Contents xv 18 Events 833 The Two Sides of Delegates 834 A Reactive Application 835 Using Delegates 836 Limitations on Plain Use of Delegates 839 Using.NET Events 840 How Events Work 843 Raising Events, the Correct Way 845 Add and Remove Accessors 847 Detach Your Event Handlers 852 Recommended Event Patterns 861 EventHandler and EventArgs 862 EventHandler<T> 867 Designing Events for Use by Derived Classes 869 Case Study: INotif yproperty Interfaces and UI Programming 871 Events in UI Frameworks 876 Countdown, the GUI Way 882 Modern Approaches to Reactive Programming 888 Events Revisited 890 Pull Versus Push 894 Dictionary Suggest Revisited 897 Summary Language Integrated Query Essentials 901 Life Without LINQ 902 In-Memory Data 902 Relational Databases 903 XML 907 The Birth of LINQ 908 LINQ by Example 909 In-Memory Data 909 Relational Databases 911 XML 917 Query Expression Syntax 920 Why Query Expressions? 920 Getting Started 922 Source Selection Using a from Clause 923 Projection Using the Select Clause 927 Filtering Using a where Clause 933 Ordering Using the orderby Keyword 935 Grouping Using the group by Clause 942

13 xvi C# 4.0 Unleashed Joining Using the j oin Clause 949 Continuing a Query Expression Using the into Clause 955 Bindings with the let Clause 961 Summary Language Integrated Query Internals 967 How LINQ to Objects Works 967 IEnumerable<T> and ienumerator<t> Recap 968 LINQ to Objects Extension Methods 970 Iterators 974 Lazy Evaluation 981 How Iterators Work 984 Standard Query Operators 990 Source Generators 990 Restriction 992 Projection 997 Ordering 1002 Grouping and Joining 1003 Aggregation 1008 Predicates 1017 Set Theoretical and Sequencing Operators 1018 Sequence Persistence 1020 Remote Versus Local with AsEnumerable 1022 The Query Pattern 1024 All About Methods 1024 Overloading Query Expression Syntax 1025 Parallel LINQ 1027 The Cost of Optimization 1028 Asparallel 1028 How PLINQ Works 1031 AsOrdered 1032 Tweaking Parallel Querying Behavior 1033 Parallel Enumeration with ForAll 1034 Expression Query Expression Translation 1036 Trees 1036 Homoiconicity for Dummies 1038 Expression Trees for Query Expressions 1041 IQueryable<T> 1043 Summary 1046

14 Contents xvii 21 Reflection 1047 Typing Revisited, Static and Otherwise 1048 The Role of Metadata 1048 The Multilanguage World 1049 Taking Multilanguage to the Next Level 1051 How Does All of This Relate to C# Programming? 1052 Reflection 1054 System. Type 1054 A Primer on Application Extensibility 1059 Reflection for Methods, Properties, Events, and More 1070 Custom Attributes 1075 Lightweight Code Generation 1082 Hello LCG 1082 A Toy Compiler for Arithmetic Expressions 1084 Expression Trees 1091 Compiler-Generated Expression Trees 1092 The Expression Tree API 1093 Using the ExpressionTreeVisitor 1105 Summary Dynamic Programming 1109 The dynamic Keyword in C# The dynamic Type 1111 Dynamic Typing Is Contagious 1112 Deferred Overload Resolution 1114 No System.Dynamic Type 1117 When to Use dynamic: Case Study with IronPython 1119 DLR Internals 1127 Dynamic Call Sites and Binders 1128 Dynamic Dispatch 1134 Custom Dynamic Objects with DynamicObject 1140 A Primer to DynamicMetaObj ect 1144 Dynamic Operations 1147 Overall Architecture 1148 Office and COM Interop 1150 Essentials of COM Interop 1152 Simplified COM Interop in.net Case Study: COM Interop with Excel and Word 1154 Summary 1165

15 xviii C# 4.0 Unleashed 23 Exceptions 1167 Life Without Exceptions 1167 Win COM 1169 Lessons Learned 1170 Introducing Exceptions 1170 Exception Handling 1172 try Statements 1176 First-Chance Exceptions 1178 Intermezzo on Historical Debugging with IntelliTrace 1183 When and What to Catch 1184 Beyond Your Control 1187 Throwing Exceptions 1188 Defining Your Own Exception Types 1190 (In)famous Exception Types 1193 DivideByZe roexception 1193 OvertlowException 1194 NullRef erenceexception 1194 IndexOutOfRangeException 1195 InvalidCastException 1195 ArrayTypeMismatchException 1196 TypelnitializationException 1196 ObjectDisposedException 1198 OutOfMemoryException 1200 StackOverflowException 1202 ExecutionEngineException 1205 ArgumentException 1205 ArgumentNullException 1206 ArgumentOutOfRangeException 1207 InvalidOperationException 1207 NotlmplementedException 1208 NotSupportedException 1209 FormatException 1210 AggregateException 1211 Summary Namespaces 1213 Organizing Types in Namespaces 1213 Once Upon a Time 1214 Assemblies and Namespaces 1216

16 Contents xix Declaring Namespaces 1219 Naming Conventions 1221 Visibility!221 Name Clashes Within Namespaces 1222 Importing Namespaces 1223 Name Clashes Due to Imports 1225 Using Aliases 1226 Extern Aliases 1227 Extension Methods ; 1230 Summary Assemblies and Application Domains 1233 Assemblies 1233 Modules and Assemblies 1234 Types of Assemblies 1236 Assembly Properties 1237 Naming, Versioning, and Deployment 1240 Strong Naming 1244 The Global Assembly Cache 1249 Referencing Assemblies 1253 How Assemblies Get Loaded at Runtime 1255 Native Image Generation (NGEN) 1261 Visibility Aspects 1265 Embedded Resources 1268 Type Forwarding 1270 Reflection Flashback 1272 Application Domains 1277 Creating Application Domains 1278 Cross-Domain Communication 1279 The Managed Add-In Framework 1287 Summary 1289 Part III Working with Base Class Libraries 26 Base Class Library Essentials 1291 The BCL: What, Where, and How? 1293 What Is Covered? 1293 Default Project References 1293 Namespaces Versus Assemblies 1294 The System and mscorlib Assemblies 1296 System.Core's Story of Red Bits and Green Bits 1298

17 XX C# 4.0 Unleashed The Holy System Root Namespace 1301 Primitive Value Types 1301 Working with Arrays 1305 The Math Class 1308 Biglnteger: Beyond 32-bit and 64-bit Integers 1310 Complex Numbers 1312 Generating Random Numbers 1314 Working with Date and Time 1317 GUID Values 1325 Nullability Revisited Briefly 1327 The Uri Type 1328 Interacting with the Environment 1328 Leave the GC Alone (Most of the Time) 1334 Native Interop with IntPtr 1341 Lazy Initialization Using Lazy<T> 1343 Tuple Types 1344 Facilities to Work with Text 1346 Formatting Text 1346 Parsing Text to Objects 1352 Regular Expressions 1353 Commonly Used String Methods 1356 The StringBuilder Class 1359 Text Encoding 1361 Summary Diagnostics and Instrumentation , Ensuring Code Quality 1364 Code Analysis 1364 Asserts and Contracts 1366 Diagnostic Debugger Output 1371 Controlling the Debugger 1373 Logging Stack Traces 1375 Measuring Performance Using Stopwatch 1376 Instrumentation 1378 Using Event Logs 1379 Monitoring with Performance Counters 1382 Other Manageability Frameworks 1385 Controlling Processes 1386 Querying Process Information 1386 Starting Processes 1387 Summary

18 Contents xxi 28 Working with I/O 1391 Files and Directories 1392 Listing Drives 1392 Working with Directories 1394 Working with Paths 1397 The Filelnfo Class 1398 Monitoring File System Activity 1400 Readers and Writers 1401 The File Class 1401 Textfteader and TextWriter 1406 Streams: The Bread and Butter of I/O 1408 Memory Streams 1409 Working with Files: Take Two 1410 BinaryReader and BinaryWriter 1411 Asynchronous Read and Write Operations 1413 Streams Are Everywhere 1422 A Primer to (Named) Pipes 1423 Memory-Mapped Files in a Nutshell 1426 Overview of Other I/O Capabilities 1429 Summary Threading and Synchronization 1431 Using Threads 1432 Explaining the Concept of Threads 1432 The Managed Code Story 1434 Where It All Starts: The Thread Class 1436 More About a Thread's Life Cycle 1441 Managed Thread Characteristics 1446 Dealing with Exceptions 1451 Thread-Specific State Essential Threading Debugging 1452 Techniques 1460 Thread Pools 1463.NET's Thread Pool 1464 Synchronization Primitives 1471 Atomicity (or Lack Thereof) Illustrated 1472 Monitors and the lock Keyword 1474 Mutexes 1477 Semaphores 1480 More Advanced Locks 1483 Signaling with Events 1486

19 xxii C# 4.0 Unleashed Interlocked Helpers 1492 More Synchronization Mechanisms 1494 BackgroundWorker 1495 Summary Task Parallelism and Data Parallelism 1501 Pros and Cons of Threads 1502 Cutting Costs 1502 An Ideal Number of Threads? 1502 The Task Parallel Library 1503 Architecture 1503 Declarative Versus Imperative 1504 What Are Tasks? 1507 Task Parallelism I508 Creating and Starting Tasks 1508 Retrieving a Task's Result 1511 Dealing with Errors 1513 Continuations 1518 Cancellation of Tasks 1523 Parallel Invocation 1525 Waiting for Multiple Tasks 1525 How the Task Scheduler Works 1527 Data Parallelism 1529 Parallel For Loops 1529 Parallel Foreach Loops 1535 Summary 1537 Index 1539

Microsoft Visual C# Step by Step. John Sharp

Microsoft Visual C# Step by Step. John Sharp Microsoft Visual C# 2013 Step by Step John Sharp Introduction xix PART I INTRODUCING MICROSOFT VISUAL C# AND MICROSOFT VISUAL STUDIO 2013 Chapter 1 Welcome to C# 3 Beginning programming with the Visual

More information

Microsoft. Microsoft Visual C# Step by Step. John Sharp

Microsoft. Microsoft Visual C# Step by Step. John Sharp Microsoft Microsoft Visual C#- 2010 Step by Step John Sharp Table of Contents Acknowledgments Introduction xvii xix Part I Introducing Microsoft Visual C# and Microsoft Visual Studio 2010 1 Welcome to

More information

COPYRIGHTED MATERIAL. Contents. Part I: C# Fundamentals 1. Chapter 1: The.NET Framework 3. Chapter 2: Getting Started with Visual Studio

COPYRIGHTED MATERIAL. Contents. Part I: C# Fundamentals 1. Chapter 1: The.NET Framework 3. Chapter 2: Getting Started with Visual Studio Introduction XXV Part I: C# Fundamentals 1 Chapter 1: The.NET Framework 3 What s the.net Framework? 3 Common Language Runtime 3.NET Framework Class Library 4 Assemblies and the Microsoft Intermediate Language

More information

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix PGJC4_JSE8_OCA.book Page ix Monday, June 20, 2016 2:31 PM Contents Figures Tables Examples Foreword Preface xix xxi xxiii xxvii xxix 1 Basics of Java Programming 1 1.1 Introduction 2 1.2 Classes 2 Declaring

More information

C# Programming in the.net Framework

C# Programming in the.net Framework 50150B - Version: 2.1 04 May 2018 C# Programming in the.net Framework C# Programming in the.net Framework 50150B - Version: 2.1 6 days Course Description: This six-day instructor-led course provides students

More information

C# Programming: From Problem Analysis to Program Design. Fourth Edition

C# Programming: From Problem Analysis to Program Design. Fourth Edition C# Programming: From Problem Analysis to Program Design Fourth Edition Preface xxi INTRODUCTION TO COMPUTING AND PROGRAMMING 1 History of Computers 2 System and Application Software 4 System Software 4

More information

Programming C# 5.0. Ian Griffiths O'REILLY' Beijing Cambridge * Farnham Kbln Sebastopol Tokyo

Programming C# 5.0. Ian Griffiths O'REILLY' Beijing Cambridge * Farnham Kbln Sebastopol Tokyo Programming C# 5.0 Ian Griffiths O'REILLY' Beijing Cambridge * Farnham Kbln Sebastopol Tokyo Preface xvii 1. Introducing C# 1 Why C#? 1 Why Not C#? 3 C#'s Defining Features 5 Managed Code and the CLR 7

More information

CHAPTER 1: INTRODUCING C# 3

CHAPTER 1: INTRODUCING C# 3 INTRODUCTION xix PART I: THE OOP LANGUAGE CHAPTER 1: INTRODUCING C# 3 What Is the.net Framework? 4 What s in the.net Framework? 4 Writing Applications Using the.net Framework 5 What Is C#? 8 Applications

More information

Learning C# 3.0. Jesse Liberty and Brian MacDonald O'REILLY. Beijing Cambridge Farnham Köln Sebastopol Taipei Tokyo

Learning C# 3.0. Jesse Liberty and Brian MacDonald O'REILLY. Beijing Cambridge Farnham Köln Sebastopol Taipei Tokyo Learning C# 3.0 Jesse Liberty and Brian MacDonald O'REILLY Beijing Cambridge Farnham Köln Sebastopol Taipei Tokyo Table of Contents Preface xv 1. C# and.net Programming 1 Installing C# Express 2 C# 3.0

More information

Course Hours

Course Hours Programming the.net Framework 4.0/4.5 with C# 5.0 Course 70240 40 Hours Microsoft's.NET Framework presents developers with unprecedented opportunities. From 'geoscalable' web applications to desktop and

More information

C# 6.0 in a nutshell / Joseph Albahari & Ben Albahari. 6th ed. Beijin [etc.], cop Spis treści

C# 6.0 in a nutshell / Joseph Albahari & Ben Albahari. 6th ed. Beijin [etc.], cop Spis treści C# 6.0 in a nutshell / Joseph Albahari & Ben Albahari. 6th ed. Beijin [etc.], cop. 2016 Spis treści Preface xi 1. Introducing C# and the.net Framework 1 Object Orientation 1 Type Safety 2 Memory Management

More information

"Charting the Course... MOC Programming in C# with Microsoft Visual Studio Course Summary

Charting the Course... MOC Programming in C# with Microsoft Visual Studio Course Summary Course Summary NOTE - The course delivery has been updated to Visual Studio 2013 and.net Framework 4.5! Description The course focuses on C# program structure, language syntax, and implementation details

More information

CHAPTER 1: INTRODUCTION TO THE IDE 3

CHAPTER 1: INTRODUCTION TO THE IDE 3 INTRODUCTION xxvii PART I: IDE CHAPTER 1: INTRODUCTION TO THE IDE 3 Introducing the IDE 3 Different IDE Appearances 4 IDE Configurations 5 Projects and Solutions 6 Starting the IDE 6 Creating a Project

More information

MCSA Universal Windows Platform. A Success Guide to Prepare- Programming in C# edusum.com

MCSA Universal Windows Platform. A Success Guide to Prepare- Programming in C# edusum.com 70-483 MCSA Universal Windows Platform A Success Guide to Prepare- Programming in C# edusum.com Table of Contents Introduction to 70-483 Exam on Programming in C#... 2 Microsoft 70-483 Certification Details:...

More information

CONTENTS. PART 1 Structured Programming 1. 1 Getting started 3. 2 Basic programming elements 17

CONTENTS. PART 1 Structured Programming 1. 1 Getting started 3. 2 Basic programming elements 17 List of Programs xxv List of Figures xxix List of Tables xxxiii Preface to second version xxxv PART 1 Structured Programming 1 1 Getting started 3 1.1 Programming 3 1.2 Editing source code 5 Source code

More information

Object-Oriented Programming in C# (VS 2015)

Object-Oriented Programming in C# (VS 2015) Object-Oriented Programming in C# (VS 2015) This thorough and comprehensive 5-day course is a practical introduction to programming in C#, utilizing the services provided by.net. This course emphasizes

More information

C# in Depth THIRD EDITION

C# in Depth THIRD EDITION C# in Depth THIRD EDITION JON SKEET MANNING SHELTER ISLAND brief contents PART 1 PREPARING FOR THE JOURNEY...1 1 The changing face of C# development 3 2 Core foundations: building on C# 1 29 PART 2 C#

More information

Programming in C# with Microsoft Visual Studio 2010

Programming in C# with Microsoft Visual Studio 2010 Programming in C# with Microsoft Visual Studio 2010 Course 10266; 5 Days, Instructor-led Course Description: The course focuses on C# program structure, language syntax, and implementation details with.net

More information

10266 Programming in C Sharp with Microsoft Visual Studio 2010

10266 Programming in C Sharp with Microsoft Visual Studio 2010 10266 Programming in C Sharp with Microsoft Visual Studio 2010 Course Number: 10266A Category: Visual Studio 2010 Duration: 5 days Course Description The course focuses on C# program structure, language

More information

Programming in Visual Basic with Microsoft Visual Studio 2010

Programming in Visual Basic with Microsoft Visual Studio 2010 Programming in Visual Basic with Microsoft Visual Studio 2010 Course 10550; 5 Days, Instructor-led Course Description This course teaches you Visual Basic language syntax, program structure, and implementation

More information

Object-Oriented Programming in C# (VS 2012)

Object-Oriented Programming in C# (VS 2012) Object-Oriented Programming in C# (VS 2012) This thorough and comprehensive course is a practical introduction to programming in C#, utilizing the services provided by.net. This course emphasizes the C#

More information

Introduce C# as Object Oriented programming language. Explain, tokens,

Introduce C# as Object Oriented programming language. Explain, tokens, Module 2 98 Assignment 1 Introduce C# as Object Oriented programming language. Explain, tokens, lexicals and control flow constructs. 99 The C# Family Tree C Platform Independence C++ Object Orientation

More information

PROGRAMMING IN VISUAL BASIC WITH MICROSOFT VISUAL STUDIO Course: 10550A; Duration: 5 Days; Instructor-led

PROGRAMMING IN VISUAL BASIC WITH MICROSOFT VISUAL STUDIO Course: 10550A; Duration: 5 Days; Instructor-led CENTER OF KNOWLEDGE, PATH TO SUCCESS Website: PROGRAMMING IN VISUAL BASIC WITH MICROSOFT VISUAL STUDIO 2010 Course: 10550A; Duration: 5 Days; Instructor-led WHAT YOU WILL LEARN This course teaches you

More information

Contents. Before You Begin. Object Technology: A Brief Review

Contents. Before You Begin. Object Technology: A Brief Review csfp6_printonly.book Page vii Thursday, June 30, 2016 4:11 PM Preface Before You Begin xxi xxxii 1 Introduction 1 1.1 1.2 1.3 Introduction Object Technology: A Brief Review C# 1.3.1 Object-Oriented Programming

More information

"Charting the Course... MOC A Developing Data Access Solutions with Microsoft Visual Studio Course Summary

Charting the Course... MOC A Developing Data Access Solutions with Microsoft Visual Studio Course Summary Description Course Summary In this course, experienced developers who know the basics of data access (CRUD) in Windows client and Web application environments will learn to optimize their designs and develop

More information

C# Syllabus. MS.NET Framework Introduction

C# Syllabus. MS.NET Framework Introduction C# Syllabus MS.NET Framework Introduction The.NET Framework - an Overview Framework Components Framework Versions Types of Applications which can be developed using MS.NET MS.NET Base Class Library MS.NET

More information

Murach s Beginning Java with Eclipse

Murach s Beginning Java with Eclipse Murach s Beginning Java with Eclipse Introduction xv Section 1 Get started right Chapter 1 An introduction to Java programming 3 Chapter 2 How to start writing Java code 33 Chapter 3 How to use classes

More information

DOT NET Syllabus (6 Months)

DOT NET Syllabus (6 Months) DOT NET Syllabus (6 Months) THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate Language (IL) Just- In- Time Compilation and CLS Disassembling.Net Application to IL

More information

Introduction to Programming Using Java (98-388)

Introduction to Programming Using Java (98-388) Introduction to Programming Using Java (98-388) Understand Java fundamentals Describe the use of main in a Java application Signature of main, why it is static; how to consume an instance of your own class;

More information

Introduction to Programming Microsoft.NET Applications with Visual Studio 2008 (C#)

Introduction to Programming Microsoft.NET Applications with Visual Studio 2008 (C#) Introduction to Programming Microsoft.NET Applications with Visual Studio 2008 (C#) Course Number: 6367A Course Length: 3 Days Course Overview This three-day course will enable students to start designing

More information

Absolute C++ Walter Savitch

Absolute C++ Walter Savitch Absolute C++ sixth edition Walter Savitch Global edition This page intentionally left blank Absolute C++, Global Edition Cover Title Page Copyright Page Preface Acknowledgments Brief Contents Contents

More information

C# Programming. Unit 1: Introducing C# and the.net FrameworkThis module explains the.net Framework, and using C# and

C# Programming. Unit 1: Introducing C# and the.net FrameworkThis module explains the.net Framework, and using C# and C# Programming 1. Sound Knowledge of C++. Course Summary: This course presents Microsoft's C# programming language and the use of Visual Studio 2008 or 2010 to develop Windows applications using the.net

More information

C# in Depth SECOND EDITION JON SKEET. MANNING Greenwich (74 w. long.)

C# in Depth SECOND EDITION JON SKEET. MANNING Greenwich (74 w. long.) C# in Depth SECOND EDITION JON SKEET II MANNING Greenwich (74 w. long.) brief contents PART 1 PREPARING FOR THE JOURNEY 1 The changing face of C# development 2 Core foundations: building on C# 1 27 PART

More information

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS Contents Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS 1.1. INTRODUCTION TO COMPUTERS... 1 1.2. HISTORY OF C & C++... 3 1.3. DESIGN, DEVELOPMENT AND EXECUTION OF A PROGRAM... 3 1.4 TESTING OF PROGRAMS...

More information

Expert C++/CLI:.NET for Visual C++ Programmers

Expert C++/CLI:.NET for Visual C++ Programmers Expert C++/CLI:.NET for Visual C++ Programmers Marcus Heege Contents About the Author About the Technical Reviewer Acknowledgments xiii xv xvii CHAPTER 1 Why C++/CLI? 1 Extending C++ with.net Features

More information

Level: M.Ed. Credit Hour: 3 (2+1) Semester: Third Teaching Hour: 80(32+48)

Level: M.Ed. Credit Hour: 3 (2+1) Semester: Third Teaching Hour: 80(32+48) Course Title: Visual Programming Course No. : ICT Ed 535 161 Nature of course: Theoretical + Practical Level: M.Ed. Credit Hour: 3 (2+1) Semester: Third Teaching Hour: 80(32+48) 1. Course Description This

More information

Introduction to C++/CLI 3. What C++/CLI can do for you 6 The rationale behind the new syntax Hello World in C++/CLI 13

Introduction to C++/CLI 3. What C++/CLI can do for you 6 The rationale behind the new syntax Hello World in C++/CLI 13 contents preface xv acknowledgments xvii about this book xix PART 1 THE C++/CLI LANGUAGE... 1 1 Introduction to C++/CLI 3 1.1 The role of C++/CLI 4 What C++/CLI can do for you 6 The rationale behind the

More information

Whom Is This Book For?... xxiv How Is This Book Organized?... xxiv Additional Resources... xxvi

Whom Is This Book For?... xxiv How Is This Book Organized?... xxiv Additional Resources... xxvi Foreword by Bryan Hunter xv Preface xix Acknowledgments xxi Introduction xxiii Whom Is This Book For?... xxiv How Is This Book Organized?... xxiv Additional Resources... xxvi 1 Meet F# 1 F# in Visual Studio...

More information

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.)

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.) INTRODUCTION TO.NET Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate Language (IL) Just- In-

More information

Table of Contents Preface Bare Necessities... 17

Table of Contents Preface Bare Necessities... 17 Table of Contents Preface... 13 What this book is about?... 13 Who is this book for?... 14 What to read next?... 14 Personages... 14 Style conventions... 15 More information... 15 Bare Necessities... 17

More information

Beginning ASP.NET. 4.5 in C# Matthew MacDonald

Beginning ASP.NET. 4.5 in C# Matthew MacDonald Beginning ASP.NET 4.5 in C# Matthew MacDonald Contents About the Author About the Technical Reviewers Acknowledgments Introduction xxvii xxix xxxi xxxiii UPart 1: Introducing.NET. 1 & Chapter 1: The Big

More information

Software Development & Education Center. Java Platform, Standard Edition 7 (JSE 7)

Software Development & Education Center. Java Platform, Standard Edition 7 (JSE 7) Software Development & Education Center Java Platform, Standard Edition 7 (JSE 7) Detailed Curriculum Getting Started What Is the Java Technology? Primary Goals of the Java Technology The Java Virtual

More information

"Charting the Course... Java Programming Language. Course Summary

Charting the Course... Java Programming Language. Course Summary Course Summary Description This course emphasizes becoming productive quickly as a Java application developer. This course quickly covers the Java language syntax and then moves into the object-oriented

More information

Contents. 1 Introduction to Computers, the Internet. Before You Begin

Contents. 1 Introduction to Computers, the Internet. Before You Begin Contents Preface Before You Begin xxiii xxxvii 1 Introduction to Computers, the Internet and Visual C# 1 1.1 Introduction 2 1.2 Computers and the Internet in Industry and Research 2 1.3 Hardware and Software

More information

Programming in Scala Second Edition

Programming in Scala Second Edition Programming in Scala Second Edition Martin Odersky, Lex Spoon, Bill Venners artima ARTIMA PRESS WALNUT CREEK, CALIFORNIA Contents Contents List of Figures List of Tables List of Listings Foreword Foreword

More information

Course Syllabus C # Course Title. Who should attend? Course Description

Course Syllabus C # Course Title. Who should attend? Course Description Course Title C # Course Description C # is an elegant and type-safe object-oriented language that enables developers to build a variety of secure and robust applications that run on the.net Framework.

More information

.NET-6Weeks Project Based Training

.NET-6Weeks Project Based Training .NET-6Weeks Project Based Training Core Topics 1. C# 2. MS.Net 3. ASP.NET 4. 1 Project MS.NET MS.NET Framework The.NET Framework - an Overview Architecture of.net Framework Types of Applications which

More information

Hierarchical inheritance: Contains one base class and multiple derived classes of the same base class.

Hierarchical inheritance: Contains one base class and multiple derived classes of the same base class. 1. What is C#? C# (pronounced "C sharp") is a simple, modern, object oriented, and type safe programming language. It will immediately be familiar to C and C++ programmers. C# combines the high productivity

More information

The C# Programming Language. Overview

The C# Programming Language. Overview The C# Programming Language Overview Microsoft's.NET Framework presents developers with unprecedented opportunities. From web applications to desktop and mobile platform applications - all can be built

More information

Learning to Program in Visual Basic 2005 Table of Contents

Learning to Program in Visual Basic 2005 Table of Contents Table of Contents INTRODUCTION...INTRO-1 Prerequisites...INTRO-2 Installing the Practice Files...INTRO-3 Software Requirements...INTRO-3 Installation...INTRO-3 Demonstration Applications...INTRO-3 About

More information

Contents. iii Copyright 1998 Sun Microsystems, Inc. All Rights Reserved. Enterprise Services August 1998, Revision B

Contents. iii Copyright 1998 Sun Microsystems, Inc. All Rights Reserved. Enterprise Services August 1998, Revision B Contents About the Course...xv Course Overview... xvi Course Map... xvii Module-by-Module Overview... xviii Course Objectives... xxii Skills Gained by Module... xxiii Guidelines for Module Pacing... xxiv

More information

Weiss Chapter 1 terminology (parenthesized numbers are page numbers)

Weiss Chapter 1 terminology (parenthesized numbers are page numbers) Weiss Chapter 1 terminology (parenthesized numbers are page numbers) assignment operators In Java, used to alter the value of a variable. These operators include =, +=, -=, *=, and /=. (9) autoincrement

More information

"Charting the Course to Your Success!" MOC B Programming in C# Course Summary

Charting the Course to Your Success! MOC B Programming in C# Course Summary Course Summary Description This training course teaches developers the programming skills that are required for developers to create Windows applications using the C# language. During their five days in

More information

Migrate Your Skills to Microsoft.NET Framework 2.0 and 3.0 using Visual Studio 2005 (C#)

Migrate Your Skills to Microsoft.NET Framework 2.0 and 3.0 using Visual Studio 2005 (C#) Migrate Your Skills to Microsoft.NET Framework 2.0 and 3.0 using Visual Studio 2005 (C#) Course Length: 5 Days Course Overview This instructor-led course teaches developers to gain in-depth guidance on

More information

DOT NET SYLLABUS FOR 6 MONTHS

DOT NET SYLLABUS FOR 6 MONTHS DOT NET SYLLABUS FOR 6 MONTHS INTRODUCTION TO.NET Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate

More information

Table of Contents. Preface... xxi

Table of Contents. Preface... xxi Table of Contents Preface... xxi Chapter 1: Introduction to Python... 1 Python... 2 Features of Python... 3 Execution of a Python Program... 7 Viewing the Byte Code... 9 Flavors of Python... 10 Python

More information

A Quick Tour p. 1 Getting Started p. 1 Variables p. 3 Comments in Code p. 6 Named Constants p. 6 Unicode Characters p. 8 Flow of Control p.

A Quick Tour p. 1 Getting Started p. 1 Variables p. 3 Comments in Code p. 6 Named Constants p. 6 Unicode Characters p. 8 Flow of Control p. A Quick Tour p. 1 Getting Started p. 1 Variables p. 3 Comments in Code p. 6 Named Constants p. 6 Unicode Characters p. 8 Flow of Control p. 9 Classes and Objects p. 11 Creating Objects p. 12 Static or

More information

C++\CLI. Jim Fawcett CSE687-OnLine Object Oriented Design Summer 2017

C++\CLI. Jim Fawcett CSE687-OnLine Object Oriented Design Summer 2017 C++\CLI Jim Fawcett CSE687-OnLine Object Oriented Design Summer 2017 Comparison of Object Models Standard C++ Object Model All objects share a rich memory model: Static, stack, and heap Rich object life-time

More information

Apex TG India Pvt. Ltd.

Apex TG India Pvt. Ltd. (Core C# Programming Constructs) Introduction of.net Framework 4.5 FEATURES OF DOTNET 4.5 CLR,CLS,CTS, MSIL COMPILER WITH TYPES ASSEMBLY WITH TYPES Basic Concepts DECISION CONSTRUCTS LOOPING SWITCH OPERATOR

More information

Introduction. Assessment Test. Part I The Programmer s Exam 1

Introduction. Assessment Test. Part I The Programmer s Exam 1 4276FM.fm Page ix Thursday, October 2, 2003 11:22 AM at a Glance Introduction Assessment Test xix xxv Part I The Programmer s Exam 1 Chapter 1 Language Fundamentals 3 Chapter 2 Operators and Assignments

More information

Variable Scope The Main() Function Struct Functions Overloading Functions Using Delegates Chapter 7: Debugging and Error Handling Debugging in Visual

Variable Scope The Main() Function Struct Functions Overloading Functions Using Delegates Chapter 7: Debugging and Error Handling Debugging in Visual Table of Contents Title Page Introduction Who This Book Is For What This Book Covers How This Book Is Structured What You Need to Use This Book Conventions Source Code Errata p2p.wrox.com Part I: The OOP

More information

10265: Developing Data Access Solutions with Microsoft Visual Studio 2010 Duration: 5 Days Method: Instructor-Led

10265: Developing Data Access Solutions with Microsoft Visual Studio 2010 Duration: 5 Days Method: Instructor-Led 10265: Developing Data Access Solutions with Microsoft Visual Studio 2010 Duration: 5 Days Method: Instructor-Led Course Description In this course, experienced developers who know the basics of data access

More information

Index. object lifetimes, and ownership, use after change by an alias errors, use after drop errors, BTreeMap, 309

Index. object lifetimes, and ownership, use after change by an alias errors, use after drop errors, BTreeMap, 309 A Arithmetic operation floating-point arithmetic, 11 12 integer numbers, 9 11 Arrays, 97 copying, 59 60 creation, 48 elements, 48 empty arrays and vectors, 57 58 executable program, 49 expressions, 48

More information

Visual C# 2008 How to Program, 3/E Outline

Visual C# 2008 How to Program, 3/E Outline vcsharp2008htp_outline.fm Page ix Monday, December 17, 2007 4:39 PM Visual C# 2008 How to Program, 3/E Outline ( subject to change) current as of 12/17/07. As the contents change, we ll post updates at

More information

C#: framework overview and in-the-small features

C#: framework overview and in-the-small features Chair of Software Engineering Carlo A. Furia, Marco Piccioni, Bertrand Meyer C#: framework overview and in-the-small features Chair of Software Engineering Carlo A. Furia, Marco Piccioni, Bertrand Meyer

More information

WA1278 Introduction to Java Using Eclipse

WA1278 Introduction to Java Using Eclipse Lincoln Land Community College Capital City Training Center 130 West Mason Springfield, IL 62702 217-782-7436 www.llcc.edu/cctc WA1278 Introduction to Java Using Eclipse This course introduces the Java

More information

Prerequisites: The student should have programming experience in a high-level language. ITCourseware, LLC Page 1. Object-Oriented Programming in C#

Prerequisites: The student should have programming experience in a high-level language. ITCourseware, LLC Page 1. Object-Oriented Programming in C# Microsoft s.net is a revolutionary advance in programming technology that greatly simplifies application development and is a good match for the emerging paradigm of Web-based services, as opposed to proprietary

More information

Pro LINQ. Language Integrated Query in C# Apress. Adam Freeman and Joseph C. Rattz, Jr.

Pro LINQ. Language Integrated Query in C# Apress. Adam Freeman and Joseph C. Rattz, Jr. Pro LINQ Language Integrated Query in C# 2010 Adam Freeman and Joseph C. Rattz, Jr. Apress Contents Contents at a Glance Contents About the Author About the Technical Reviewer Acknowledgments Part 1: Pro

More information

Introduction to Microsoft.NET Programming Using Microsoft Visual Studio 2008 (C#) Course Overview. Prerequisites. Audience.

Introduction to Microsoft.NET Programming Using Microsoft Visual Studio 2008 (C#) Course Overview. Prerequisites. Audience. Introduction to Microsoft.NET Programming Using Microsoft Visual Studio 2008 (C#) Course Number: 6368A Course Length: 1 Day Course Overview This instructor-led course provides an introduction to developing

More information

The course introduces many of the techniques and technologies employed by modern desktop and enterprise applications, including:

The course introduces many of the techniques and technologies employed by modern desktop and enterprise applications, including: Programming in C# OD20483B; On-Demand, Video-based Course Description This training course teaches developers the programming skills that are required for developers to create Windows applications using

More information

Deitel Series Page How To Program Series

Deitel Series Page How To Program Series Deitel Series Page How To Program Series Android How to Program C How to Program, 7/E C++ How to Program, 9/E C++ How to Program, Late Objects Version, 7/E Java How to Program, 9/E Java How to Program,

More information

1 OBJECT-ORIENTED PROGRAMMING 1

1 OBJECT-ORIENTED PROGRAMMING 1 PREFACE xvii 1 OBJECT-ORIENTED PROGRAMMING 1 1.1 Object-Oriented and Procedural Programming 2 Top-Down Design and Procedural Programming, 3 Problems with Top-Down Design, 3 Classes and Objects, 4 Fields

More information

Course Description. Audience. Module Title : 20483B: Programming in C# Duration : 5 days. Course Outline :: 20483B ::

Course Description. Audience. Module Title : 20483B: Programming in C# Duration : 5 days. Course Outline :: 20483B :: Module Title : 20483B: Programming in C# Duration : 5 days Course Description This training course teaches developers the programming skills that are required for developers to create Windows applications

More information

This module reviews the core syntax and features of the C# programming language. It also provides an introduction to the Visual Studio 2012 debugger.

This module reviews the core syntax and features of the C# programming language. It also provides an introduction to the Visual Studio 2012 debugger. Course Outline Module 1: Review of C# Syntax This module reviews the core syntax and features of the C# programming language. It also provides an introduction to the Visual Studio 2012 debugger. Overview

More information

5/23/2015. Core Java Syllabus. VikRam ShaRma

5/23/2015. Core Java Syllabus. VikRam ShaRma 5/23/2015 Core Java Syllabus VikRam ShaRma Basic Concepts of Core Java 1 Introduction to Java 1.1 Need of java i.e. History 1.2 What is java? 1.3 Java Buzzwords 1.4 JDK JRE JVM JIT - Java Compiler 1.5

More information

.Net Technologies. Components of.net Framework

.Net Technologies. Components of.net Framework .Net Technologies Components of.net Framework There are many articles are available in the web on this topic; I just want to add one more article over the web by explaining Components of.net Framework.

More information

Course Description. Learn To: : Intro to JAVA SE7 and Programming using JAVA SE7. Course Outline ::

Course Description. Learn To: : Intro to JAVA SE7 and Programming using JAVA SE7. Course Outline :: Module Title Duration : Intro to JAVA SE7 and Programming using JAVA SE7 : 9 days Course Description The Java SE 7 Fundamentals course was designed to enable students with little or no programming experience

More information

Object-Oriented Programming

Object-Oriented Programming Object-Oriented Programming 1. What is object-oriented programming (OOP)? OOP is a technique to develop logical modules, such as classes that contain properties, methods, fields, and events. An object

More information

CHAPTER 1: VISUAL STUDIO

CHAPTER 1: VISUAL STUDIO INTRODUCTION xxxi PART I: LANGUAGE CONSTRUCTS AND ENVIRONMENT CHAPTER 1: VISUAL STUDIO 2012 3 Visual Studio 2012 4 Visual Basic Keywords and Syntax 5 Console Applications 10 Creating a Project from a Project

More information

Programming in C#

Programming in C# Course Outline 20483- Programming in C# Duration: 5 days (30 hours) Target Audience: This course is intended for experienced developers who already have programming experience in C, C++, JavaScript, Objective-C,

More information

DEPARTMENT OF INFORMATION TECHNOLOGY Academic Year 2015-2016 QUESTION BANK-EVEN SEMESTER NAME OF THE SUBJECT SUBJECT CODE SEMESTER YEAR DEPARTMENT C# and.net Programming CS6001 VI III IT UNIT 1 PART A

More information

Developing Data Access Solutions with Microsoft Visual Studio 2010

Developing Data Access Solutions with Microsoft Visual Studio 2010 Developing Data Access Solutions with Microsoft Visual Studio 2010 Course Code: 10265A; Five days; Instructor-Led About this Course In this course, experienced developers who know the basics of data access

More information

DOT NET COURSE BROCHURE

DOT NET COURSE BROCHURE Page 1 1Pointer Technology Chacko Towers,Anna nagar Main Road, Anna Nager(Annai Insititute 2nd Floor) Pondicherry-05 Mobile :+91-9600444787,9487662326 Website : http://www.1pointer.com/ Email : info@1pointer.com/onepointertechnology@gmail.com

More information

OracleAS 10g R3: Java Programming

OracleAS 10g R3: Java Programming OracleAS 10g R3: Java Programming Volume I Student Guide D18382GC20 Edition 2.0 April 2007 D50171 Authors Patrice Daux Kate Heap Technical Contributors and Reviewers Ken Cooper C Fuller Vasily Strelnikov

More information

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore 560 100 Department of MCA COURSE INFORMATION SHEET Programming Using C#.NET (13MCA53) 1. GENERAL INFORMATION: Academic Year:

More information

Pro JPA 2. Mastering the Java Persistence API. Apress* Mike Keith and Merrick Schnicariol

Pro JPA 2. Mastering the Java Persistence API. Apress* Mike Keith and Merrick Schnicariol Pro JPA 2 Mastering the Java Persistence API Mike Keith and Merrick Schnicariol Apress* Gootents at a Glance g V Contents... ; v Foreword _ ^ Afooyt the Author XXj About the Technical Reviewer.. *....

More information

UNIT 1 PART A PART B

UNIT 1 PART A PART B UNIT 1 PART A 1. List some of the new features that are unique to c# language? 2. State few words about the two important entities of.net frame work 3. What is.net? Name any 4 applications that are supported

More information

Java SE7 Fundamentals

Java SE7 Fundamentals Java SE7 Fundamentals Introducing the Java Technology Relating Java with other languages Showing how to download, install, and configure the Java environment on a Windows system. Describing the various

More information

Oracle 10g: Java Programming

Oracle 10g: Java Programming Oracle 10g: Java Programming Volume 1 Student Guide D17249GC12 Edition 1.2 July 2005 D19367 Author Kate Heap Technical Contributors and Reviewers Ken Cooper Brian Fry Jeff Gallus Glenn Maslen Gayathri

More information

DC69 C# &.NET DEC 2015

DC69 C# &.NET DEC 2015 Q.2 a. Briefly explain the advantage of framework base classes in.net. (5).NET supplies a library of base classes that we can use to implement applications quickly. We can use them by simply instantiating

More information

Index COPYRIGHTED MATERIAL

Index COPYRIGHTED MATERIAL Index COPYRIGHTED MATERIAL Note to the Reader: Throughout this index boldfaced page numbers indicate primary discussions of a topic. Italicized page numbers indicate illustrations. A abstract classes

More information

B.E /B.TECH DEGREE EXAMINATIONS,

B.E /B.TECH DEGREE EXAMINATIONS, B.E /B.TECH DEGREE EXAMINATIONS, November / December 2012 Seventh Semester Computer Science and Engineering CS2041 C# AND.NET FRAMEWORK (Common to Information Technology) (Regulation 2008) Time : Three

More information

C#.Net. Course Contents. Course contents VT BizTalk. No exam, but laborations

C#.Net. Course Contents. Course contents VT BizTalk. No exam, but laborations , 1 C#.Net VT 2009 Course Contents C# 6 hp approx. BizTalk 1,5 hp approx. No exam, but laborations Course contents Architecture Visual Studio Syntax Classes Forms Class Libraries Inheritance Other C# essentials

More information

OVERVIEW ENVIRONMENT PROGRAM STRUCTURE BASIC SYNTAX DATA TYPES TYPE CONVERSION

OVERVIEW ENVIRONMENT PROGRAM STRUCTURE BASIC SYNTAX DATA TYPES TYPE CONVERSION Program: C#.Net (Basic with advance) Duration: 50hrs. C#.Net OVERVIEW Strong Programming Features of C# ENVIRONMENT The.Net Framework Integrated Development Environment (IDE) for C# PROGRAM STRUCTURE Creating

More information

Module 1. An Introduction to C# Module 2. Classes and Objects. Vasundhara Sector 14-A, Plot No , Near Vaishali Metro Station,Ghaziabad

Module 1. An Introduction to C# Module 2. Classes and Objects. Vasundhara Sector 14-A, Plot No , Near Vaishali Metro Station,Ghaziabad Module 1. An Introduction to C# What is.net? What is the CLR? The FCL Primitive Types Namespaces Statements and Expressions Operators Module Module 2. Classes and Objects Constructors Reference Types Object

More information

Chapters and Appendix F are PDF documents posted online at the book s Companion Website (located at

Chapters and Appendix F are PDF documents posted online at the book s Companion Website (located at Contents Chapters 16 27 and Appendix F are PDF documents posted online at the book s Companion Website (located at www.pearsonhighered.com/deitel/). Preface Before You Begin xix xxix 1 Introduction to

More information

Programming in C# for Experienced Programmers

Programming in C# for Experienced Programmers Programming in C# for Experienced Programmers Course 20483C 5 Days Instructor-led, Hands-on Introduction This five-day, instructor-led training course teaches developers the programming skills that are

More information

"Charting the Course to Your Success!" MOC D Querying Microsoft SQL Server Course Summary

Charting the Course to Your Success! MOC D Querying Microsoft SQL Server Course Summary Course Summary Description This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server 2014. This course is the foundation

More information

Framework Design Guidelines

Framework Design Guidelines Framework Design Guidelines Conventions, Idioms, and Patterns for Reusable.NET Libraries Krzysztof Cwalina Brad Abrams Addison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto

More information

10262A VB: Developing Windows Applications with Microsoft Visual Studio 2010

10262A VB: Developing Windows Applications with Microsoft Visual Studio 2010 10262A VB: Developing Windows Applications with Microsoft Visual Studio 2010 Course Number: 10262A Course Length: 5 Days Course Overview In this course, experienced developers who know the basics of Windows

More information