Skip to content

Instantly share code, notes, and snippets.

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++)
{
// 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;
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 {
interface ISomeInterface {}
class SomeInterfaceImpl : ISomeInterface {}
/* compilation error!
interface Base {
ISomeInterface some { get; set; }
}
class ChildBase : Base {
public SimeInterfaceImpl some { get; set; }
}
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;
/**