Sure thing:
SmtpClient client = new SmtpClient("smtp.office365.com");
client.UseDefaultCredentials = false;
client.Credentials = new System.Net.NetworkCredential("YourSendingEmailAddress@domain.com", "yourPassword", "domain.com");//this is the account you'll send from
client.Port = 587;
client.EnableSsl = true;
MailAddress from = new MailAddress("fromemail@domain.com");//If you enable send-as on the sending account, you can make the "from" dynamic
MailAddress to = new MailAddress("toemail@domain.com");
MailAddress cc = new MailAddress("ccemail@domain.com");
MailMessage message = new MailMessage(from, to);
message.CC.Add(cc);
message.Body = txtEmailMsg.Text.ToString();
message.Subject = "Subject Goes Here";
client.SendAsync(message, userState);