This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using (ImapClient client = new ImapClient("host.domain.com", 84, "username", "password")) | |
{ | |
try | |
{ | |
// Append some test messages | |
int messagesNum = 12; | |
int itemsPerPage = 5; | |
MailMessage message = null; | |
for (int i = 0; i < messagesNum; i++) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-email/Aspose.Email-for-.NET | |
///<summary> | |
/// This example shows the paging support of ImapClient for listing messages from the server | |
/// Available in Aspose.Email for .NET 6.4.0 and onwards | |
///</summary> | |
using (ImapClient client = new ImapClient("host.domain.com", 993, "username", "password")) | |
{ | |
try | |
{ | |
int messagesNum = 12; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.epam.shuvaev_pavel.java.lesson3.task3; | |
import java.util.*; | |
import java.time.*; | |
import java.time.temporal.*; | |
import java.util.function.*; | |
import java.util.stream.*; | |
import java.time.format.*; | |
class TrainingCenter { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface ISomeInterface {} | |
class SomeInterfaceImpl : ISomeInterface {} | |
/* compilation error! | |
interface Base { | |
ISomeInterface some { get; set; } | |
} | |
class ChildBase : Base { | |
public SimeInterfaceImpl some { get; set; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.pshuvaev.oop.graphview; | |
import javax.swing.*; | |
import javax.swing.plaf.DimensionUIResource; | |
import java.awt.*; | |
import java.awt.event.MouseAdapter; | |
import java.awt.event.MouseEvent; | |
import java.awt.event.MouseListener; | |
/** |