public class SoftwareEngineer
{
public string Name { get; }
public AboutMe AboutMe { get; }
public IEnumerable<Language> Languages { get; }
public FunFact FunFact { get; }
public SoftwareEngineer(string name, AboutMe aboutMe, IEnumerable<Language> languages, FunFact funFact)
{
Name = name;
AboutMe = aboutMe;
Languages = languages;
FunFact = funFact;
}
}
var ricardo = new SoftwareEngineer(
name: "Ricardo Tondello",
aboutMe: new AboutMe("I'm currently working at https://www.nmbrs.com as a Software Engineer in Amsterdam ๐ณ๐ฑ"),
languages: new[] { "Portuguese ๐ง๐ท", "English ๐ฌ๐ง", "Italian ๐ค" },
funFact: throw new BodyException("Right arm not found!"));
ricardotondello / functionalenumerableextensions Goto Github PK
View Code? Open in Web Editor NEWThese extensions are designed to enhance memory efficiency and make common operations more convenient. Whether you're converting to lists, arrays, or working with spans, these extensions aim to improve your code's performance and readability.
License: MIT License