Kai
Kai
CC#
Created by Kai on 8/21/2023 in #help
❔ Is there a way to make this neater?
welp i guess it isnt a big deal
28 replies
CC#
Created by Kai on 8/21/2023 in #help
❔ Is there a way to make this neater?
no but i dont like the feeling of how its written
28 replies
CC#
Created by Kai on 8/21/2023 in #help
❔ Is there a way to make this neater?
wait then how do i make it so that when initalizing my object that it can be added to using .Add and .Remove?
EmailMessage testEmail = new()
{
Tags = new HashSet<string> {"Important"},
Sender = new HashSet<string> {"[email protected]"},
Recipient = new HashSet<string> {"[email protected]"},
EmailBody = "Hello, World!",
Folder = new[] {FolderType.Inbox},
Subject = "Hello, World Email",
};
EmailMessage testEmail = new()
{
Tags = new HashSet<string> {"Important"},
Sender = new HashSet<string> {"[email protected]"},
Recipient = new HashSet<string> {"[email protected]"},
EmailBody = "Hello, World!",
Folder = new[] {FolderType.Inbox},
Subject = "Hello, World Email",
};
28 replies
CC#
Created by Kai on 8/21/2023 in #help
❔ Is there a way to make this neater?
oh i had it private because the functions were public
28 replies
CC#
Created by Kai on 8/21/2023 in #help
❔ Is there a way to make this neater?
ah thanks!
28 replies
CC#
Created by Kai on 8/21/2023 in #help
❔ Is there a way to make this neater?
oh yeah true
28 replies
CC#
Created by Kai on 8/21/2023 in #help
❔ Is there a way to make this neater?
basically just refactor it so that I don't need those methods if possible?
28 replies
CC#
Created by Kai on 11/16/2022 in #help
Use class from different project in my tests project [Answered]
ah ok that works!! Thank you so much!!
9 replies
CC#
Created by Kai on 11/16/2022 in #help
Use class from different project in my tests project [Answered]
9 replies