Lubbock Coding Academy C# Blog 1

matt coston
2 min readMay 16, 2019

--

  1. How we can create an array with non-default values? Answer: Enumerable.Repeat(true, result.TotalPages + 1).ToArray()
  2. What is the difference between Array and Arraylist? Answer: Array has to be defined as one item within that array. Arraylist can have items in it with other data types.
  3. Discuss something you’re learning about this week as if someone just asked you. Answer: Currently I am looking further into C# development, but I am finding the language difficult because it is
  4. List and explain the features of C#? Answer:

1) Simple

C# is a simple language in the sense that it provides structured approach (to break the problem into parts), rich set of library functions, data types etc.

2) Modern Programming Language

C# programming is based upon the current trend and it is very powerful and simple for building scalable, interoperable and robust applications.

3) Object Oriented

C# is object oriented programming language. OOPs makes development and maintenance easier where as in Procedure-oriented programming language it is not easy to manage if code grows as project size grow.

4) Type Safe

C# type safe code can only access the memory location that it has permission to execute. Therefore it improves a security of the program.

5) Interoperability

Interoperability process enables the C# programs to do almost anything that a native C++ application can do.

6) Scalable and Updateable

C# is automatic scalable and updateable programming language. For updating our application we delete the old files and update them with new ones.

7) Component Oriented

C# is component oriented programming language. It is the predominant software development methodology used to develop more robust and highly scalable applications.

8) Structured Programming Language

C# is a structured programming language in the sense that we can break the program into parts using functions. So, it is easy to understand and modify.

9) Rich Library

C# provides a lot of inbuilt functions that makes the development fast.

10) Fast Speed

The compilation and execution time of C# language is fast.

5. What are the IDE’s provided by Microsoft for C# development? Which do you use? Answer: Microsoft offers Visual Studio Code and Visual Studio Community and Enterprise for C# development. I currently use Visual Studio Community for both Mac and Windows.

6. Explain the types of comments in C#? Type them out with inline code blocks as well. Answer:

// Single line comment
/* Multi
Line
Comment */

7. Explain namespaces in C#? How and why do we use it? Answer: Refer to this link for a detailed explanation: https://www.programiz.com/csharp-programming/namespaces

--

--

matt coston
matt coston

Written by matt coston

0 Followers

Hey there! I'm an IT manager by day, and I dabble in all things web development by night.

No responses yet