frankcollins3 / fcc-mcsft-cSharp

FreeCodeCamp & Microsoft C# course:
1 stars 0 forks source link

2d nested array [7:09am] #42

Closed frankcollins3 closed 1 year ago

frankcollins3 commented 1 year ago

attempting to do: creating a new string from {"firstname", "lastname"} code: {"Robert", "Bavin"}, ---> output: robavin@contoso.com Screen Shot 2023-09-12 at 7 08 21 AM

error: /TestProject/Program.cs(30,44): error CS1061: 'string' does not contain a definition for 'SubString' and no accessible extension method 'SubString' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?)

proposed approach: // issue is actually casing it's not SubString it's Substring() 0: SubString()

frankcollins3 commented 1 year ago

leaving the issue open though because there are bound to be other hiccups. proposed approach is return a minimum viable altering of the first name only within the iteration

Screen Shot 2023-09-12 at 7 11 16 AM

Screen Shot 2023-09-12 at 7 11 21 AM [7:12am]

frankcollins3 commented 1 year ago

👍 Screen Shot 2023-09-12 at 7 15 01 AM Screen Shot 2023-09-12 at 7 14 50 AM [7:15am]