C# homework

Hey All,

 

Anyone who is learning C# and is interest in this homework, please let me know. If you don’t think time is enough for you, we can plan it together.

 

Part I: 2 Weeks

Design and implement a String class without using .NET frameworks. Besides following basic requirements, you can try as more as you can.

 

Function Requirements:

  1. We can create this string from another string or an array of characters.
  2. We can access a string’s characters randomly.
  3. We can get the length of a string
  4. We can compare two strings
  5. We can insert a string to a string
  6. We can remove a substring from a string
  7. We can copy one string to another
  8. We can join two strings
  9. We can convert all characters to lowercase.
  10. We can convert all characters to uppercase.

 

Technical Requirements:

  1. Data type
  2. Method overloading
  3. Operators and operator overloading
  4. Array
  5. Control statements
  6. Index and Properties

 

Part II: 2 Weeks

Design and implement automation cases to test this class. TAEF MUST be used.

 

Part III: 1 Week

Prepare a presentation to share your experience.

posted @ 2012-11-28 09:54  ~乖乖~  Views(169)  Comments(1Edit  收藏  举报